Hi people,
I Just found a bug with Opera mobile when scrolling is necessary to reach the canvas.
The getPointFromEvent function is using firstEvent.pageY to calculate the point but It should be using firstEvent.clientY instead. This is happening only with Opera Mobile.
My quick fix was:
//this is a hack due to Opera Mobile wrong coordinate in pageY
//if it is Opera use clientY instead
var page_Y = (navigator.userAgent.search('Opera Mobi')) ? firstEvent.clientY : firstEvent.pageY;
return new Point(
Math.round(firstEvent.pageX + shiftX)
, Math.round(page_Y + shiftY) + jSignatureInstance.fatFingerCompensation
)
Hi people, I Just found a bug with Opera mobile when scrolling is necessary to reach the canvas.
The getPointFromEvent function is using firstEvent.pageY to calculate the point but It should be using firstEvent.clientY instead. This is happening only with Opera Mobile.
My quick fix was:
Thanks for the plugin, it's great! Bema