PDA

View Full Version : Anyone using SignaturePad with ST 2.2.1?



OGHaza
24 Sep 2013, 4:46 AM
SignaturePad ST: http://www.sencha.com/forum/showthread.php?242843

Been using this plugin successfully with 2.1.0 but since porting my app to ST 2.2.1 I can no longer enter signatures on iOS7 (unable to test on iOS6 however it works on iOS7 with ST 2.1.0). Trying to work out the cause of this currently, would be great if anyone else has experienced the issue already - not sure how widespread SignaturePad is though.

EDIT:

Still confused as to what exactly is going on here. touchstart event was being handled, it then dispatches a mousedown event to the canvas but the mousedown handler was never being called - was working as expected for touchmove/mousemove and touchend/mouseup..

Quick/dirty fix for me was instead of dispatching events to the canvas in the handleTouchEvents method, directly calling the mousedown/move/up methods with the event as an arguement. May well introduce its own problems but seems to work for my purposes.

fmoseley
27 Sep 2013, 5:09 PM
Thanks for sharing your workaround.