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

Zoomed image slips out of bounds on 5 finger touch #10

Open
thurti opened this issue Aug 13, 2021 · 0 comments · May be fixed by #11
Open

Zoomed image slips out of bounds on 5 finger touch #10

thurti opened this issue Aug 13, 2021 · 0 comments · May be fixed by #11

Comments

@thurti
Copy link
Contributor

thurti commented Aug 13, 2021

If you touch the zoomed in image with 5 fingers at once, there is chance that the image slips out of bounds.
I fixed this by checking the number of touches more explicit in onTouchStart() and onTouchMove().

thurti added a commit to thurti/svelte-zoom that referenced this issue Aug 13, 2021
@thurti thurti linked a pull request Aug 13, 2021 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant