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

jSignature - clipping on touch devices iOS and Android #189

Open
alexm7 opened this issue May 31, 2021 · 0 comments
Open

jSignature - clipping on touch devices iOS and Android #189

alexm7 opened this issue May 31, 2021 · 0 comments

Comments

@alexm7
Copy link

alexm7 commented May 31, 2021

Hi,
I'm trying to upgrade from the old jSignature version (willow systems) to the brinley version. This is to benefit from the windows surface device handling and a supported project.
I have an issue where the contents of the signature is not "clipped" when the user signs "outside" the box. It is clipped on the top part of the signature, but not the bottom part.
Imagine someone signing, they start with their finger/stylus inside the box, and then their stroke goes outside the box. jSignature works to 'clip' the top part of the signature, but not the bottom part. I'm not sure why this is, but I'm wondering if there is a way to get this issue addressed.
Here is an example:
image

Imagine a 'spikey' signature:

  • The top half of the spikes are clipped at the boundary of the signature box. This is exactly what should happen.
  • The bottom half of the spikes are not clipped at the boundary of the signature box. This is bad. I'd like the same behaviour as the top half.
  • You can see in the attached image the two small horizontal lines on the left side of the image are indicating (approximately) where the jSignature boundary box is (ignore the light green background).
  • jSignature works well to 'clip' on desktop devices. It is an issue on iOS and Android.

Thank you very much for your help with this.
Alex.

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