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

prevent the vertical scroll when swipe in mobile device #764

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shuizhongyueming
Copy link

add event.preventDefault to prevent swipe back in a mobile app's webview

change the touchmove and touchend event listener to setup, prevent the vertical scroll when swipe in mobile device

video-prevent-vertical-scroll-when-swipe

@sreerajsaseendran
Copy link

It worked 👍 Thanks

lwaldner pushed a commit to lwaldner/lory that referenced this pull request Jun 18, 2020
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 this pull request may close these issues.

2 participants