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

Add strong touch event handling for scrollable.js #1064

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

lxxps
Copy link

@lxxps lxxps commented Jan 29, 2014

Use changedTouches instead of touches.
Determine if moves are vertical or horizontal.
Ignore horizontal moves on vertical scrollable, respectively vertical moves on horizontal scrollable (this allow the user to scroll the page on horizontal scrollable).
Do not scroll on tiny moves.

Tested successfully on Android default browser, Chrome mobile and Safari mobile. Firefox should be ok.

@see #711

Use changedTouches instead of touches.
Determine if moves are vertical or horizontal.
Ignore horizontal moves on vertical scrollable, respectively vertical moves on horizontal scrollable (this allow the user to scroll the page on horizontal scrollable).
Do not scroll on tiny moves.

Tested successfully on Android default browser, Chrome mobile and Safari mobile. Firefox should be ok.

@see jquerytools#711
I was not so happy with the previous version.
Just reverse prev and next call on vertical scrollable.
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.

None yet

1 participant