-
Notifications
You must be signed in to change notification settings - Fork 523
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
Scrollable on Touch #711
Comments
I have exactly the same issue and can't find a fix for it either? Anyone else, please!? |
Somehow there must be a way to detect a vertical swipe and prevent the trigger for scrollable… Anyone? |
I found this.. Not ideal as it requires another plugin but does seem to work: http://awardwinningfjords.com/2010/09/22/handling-touch-events-in-jquery-tools-scrollable.html |
not really (maybe just me though) |
well it worked for me; for slider to only work on a horizontal swipe and not vertical. You obviously need to set touch: false for this add-on to do it's stuff.. |
Yeah, now it also works for me :) |
Jquery tools should be add one option for this. |
Also having this issue. [edit] @Madiba link solved for my implementation, agreed it's not ideal. |
I am having the same issue... I have fiddle here fiddle: http://jsfiddle.net/mmp2m/7/ |
Related to my earlier comment... this is fixed ref: http://stackoverflow.com/questions/11940351/jquery-tools-touch-horizontal-only-disable-vertical-touch |
The touch event is not handle correctly, also it provides a bad side-effect that user cannot scroll the page on horizontal scrollable. First step: on touchstart, use Second step: on touchmove, detect if the registered touch has moved using its identifier Third step: listen to touchend, touchcancel or touchleave events to reset the touch data. I will attemp a pull request in this way ASAP. Loops |
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. @see jquerytools#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
If you have a scrollable area and you're on touch, vertical scrolling is pain in the ass. And there seems no way on how to detect vertical scrolling?
The text was updated successfully, but these errors were encountered: