Skip to content

Prevent swipeLeft or swipeRight too easy to trigger when scrolling body up and down #624

wants to merge 1 commit into from

2 participants


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.


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
Something went wrong with that request. Please try again.