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

Disable vertical touch only on mobile #58

Open
CookingPixels opened this issue Oct 29, 2015 · 0 comments
Open

Disable vertical touch only on mobile #58

CookingPixels opened this issue Oct 29, 2015 · 0 comments

Comments

@CookingPixels
Copy link

In first place, thanks for this great tool!

Second, is there any way to implement a toggle for vertical or horizontal touch listener, or add up to 'direction: horizontal' the touch only on the X axe?

On mobile devices the touch enabled elements don't let scroll (swipe) vertically until the user stays with its stiff finger and then scrolls, this produces an erratic behavior, where the user gets pissed off trying to scroll rapidly.

I believe this is on purpose like on other sliders where it captures the user touch (finger enter) gesture but doesn't know what to do until user swipes in any direction. This is inconvenient when using an horizontal full screen slidr and trying to scroll (swipe) down. I already configured slidr for horizontal layout, did I miss something in the way?

In bxSlider there was a fix "preventDefaultSwipeY", this hopefully will shed some light at whay I'm trying to accomplish http://stackoverflow.com/questions/14460057/bxslider-touch-enabled-disable-vertical-touch-events-so-only-horizontal-touch

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

No branches or pull requests

1 participant