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

TouchMove doesn't work well on Android devices #19

Open
jschomay opened this issue Apr 24, 2018 · 0 comments
Open

TouchMove doesn't work well on Android devices #19

jschomay opened this issue Apr 24, 2018 · 0 comments

Comments

@jschomay
Copy link

This is a known bug, referenced here and elsewhere scottjehl/Device-Bugs#9.

The main issue is that Android browsers will cancel the touch events if a scroll happens (even if nothing actually scrolls), so touch move only fires the first time.

This is easily fixed by adding a preventDefault to the event, however, this library provides no API to do so. I would like some kind of way to toggle prevent default in your event handlers.

Note that preventDefault will mess up other things, which is why I would want to be able to toggle it at call time.

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