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 swipeLeft or swipeRight too easy to trigger when scrolling body up and down #624

Closed
wants to merge 1 commit into from

Conversation

medicalwei
Copy link

Due to another swipe bug filed in the issue tracker, this pull request is based on 1.0rc1.

Basically, the touch event is based on the position of the body. I need to subtract scrollTop and scrollLeft of body to get the actual touch position.

@madrobby
Copy link
Owner

This won't work if the swipe occurs in a scrolled container. I think in this case it would be better if you implement a custom solution for what you need.

If you feel this is still a problem, please re-open with added tests.

@madrobby madrobby closed this Nov 24, 2013
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