Hi Thomas, great component. I am using your component in an iframe and yes it's a long story but I found using it in this way meant once I started drawing the signature it never stopped because the mouseup event never fired. Well don't fear - I solved it. In my case I had to change initDrawEvents
} else {
//$(document).bind('mouseup.signaturepad', function () {
// FIX: Change this line to
canvas.bind('mouseup.signaturepad', function () {
if (mouseButtonDown) {
stopDrawing()
clearMouseLeaveTimeout()
}
})
canvas.bind('mouseleave.signaturepad', function (e) {
if (mouseButtonDown) stopDrawing(e)
Hi Thomas, great component. I am using your component in an iframe and yes it's a long story but I found using it in this way meant once I started drawing the signature it never stopped because the mouseup event never fired. Well don't fear - I solved it. In my case I had to change initDrawEvents