Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change event isn't triggered if signing continues to outside of canvas #16

Open
chrisfnz opened this issue Feb 7, 2024 · 0 comments
Open

Comments

@chrisfnz
Copy link

chrisfnz commented Feb 7, 2024

I've identified an issue with this library if drawing a signature and the pen reaches outside the canvas:

  1. The jq.signature.changed event isn't triggered until/unless returning the pointer to the canvas and doing a penup / left mouse click.
  2. Drawing continues in the canvas even if pen isn't down / left mouse button isn't clicked any more.

I would appreciate your consideration of the the following recommended fixes:

  1. Ensure jq.signature.changed event is triggered when-ever leaving the canvas.
  2. Drawing once back inside the canvas only works if pen is down or left mouse button is clicked.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant