thread-pond / signature-pad

A jQuery plugin for assisting in the creation of an HTML5 canvas based signature pad. Records the drawn signature in JSON for later regeneration.
BSD 3-Clause "New" or "Revised" License
727 stars 292 forks source link

switch between mouse and touch without reload doesn't work on windows devices. #209

Open ehsanmohebbi opened 4 years ago

Betanu701 commented 4 years ago

Can confirm. If you start drawing with mouse, you can not draw with touch. same viceversa.

Issue is per draw box. So if you have multiple signature boxes on the page. you can use mouse in one and touch in the other.

mockdeep commented 4 years ago

Thanks for following up @Betanu701. If you feel like contributing some code, there's an open pull request that needs to be updated. I'd be happy to merge if we can get the fix polished up.

princeallennoel commented 4 years ago

Still the issue persists. On a device which doesn't have touch support I was able to sign on the pad with the mouse. But when a device with touch support, only touch is working where as when I tried to use mouse it is not working.

mockdeep commented 4 years ago

@princeallennoel would you be able to submit a fix?