Slider: Slider reacting to wrong gesture on touch devices

Created on 15 Aug 2017  路  10Comments  路  Source: react-component/slider

First of all thank you for this over the moon great component 馃敟

My issue is relevant on touch screens and I'm not sure if it is a problem of the component itself but I would love some suggestions / fixes for this issue.

My slider is horizontal and I have a few rendered below each other. When trying to navigate up and down the page and accedently touching a slider it also moves and thus blocks my navigation.

The ideal solution I can think of is a prop that could turn off this behaviour like interactHorizontal and interactVertical.

Example of the issue
navigation issue

enhancement help wanted

Most helpful comment

I already fixed this, just need to take the time to test some more and make a pull request

All 10 comments

Yep, right now we do not lock gesture direction.

PR is welcome.

@paranoidjk is this possible at all? :) Just wondering how I could help, but honestly I would have no idea on how to to such a thing 馃槰

So it is already available in this component? or am I missing something? :)

Any progress on this issue?

@DieterHolvoet I did not fix this as I am lacking time :(

Chances are I'll get some time at work to fix this issue during the coming week, I'll keep you posted.

Having the same issue with horizontal scrolling + vertical sliders.

I already fixed this, just need to take the time to test some more and make a pull request

Hello everyone!

The issue with the slider and touch screen seem to still exist. Are there any updates on the solution? Is there a workaround for it?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Bernabe-Felix picture Bernabe-Felix  路  3Comments

OlivierCo picture OlivierCo  路  5Comments

koenvo picture koenvo  路  5Comments

sonovice picture sonovice  路  7Comments

johnb8005 picture johnb8005  路  6Comments