Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Disable vertical touch only on mobile #58

@CookingPixels

Description

@CookingPixels

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions