jSignature icon indicating copy to clipboard operation
jSignature copied to clipboard

Not formatting on initialization

Open BitStinker opened this issue 9 years ago • 2 comments

In a jQuery mobile environment, using the pagechange event...

If I do this:

$( '#signoff' ).jSignature();

I get a signature canvas the wrong height.

If I do this:

$( '#signoff' ).jSignature(); $( '#thepage' ).trigger( 'resize' );

I get the correct height canvas.

BitStinker avatar Jan 25 '16 15:01 BitStinker

I havent used jQuery mobile recently but have you tried setting a fixed height on jsignature container or trying to intialise it on jQuery mobile's pageload instead?

brinley avatar Feb 20 '16 12:02 brinley

I tried both. The 'resize' technique is quick and easy, so that's what I've been using.

BitStinker avatar Feb 20 '16 12:02 BitStinker