react-native-slider icon indicating copy to clipboard operation
react-native-slider copied to clipboard

Slider doesn't work on Android Navigation Drawer

Open nishmeht7 opened this issue 4 years ago • 4 comments

Environment

Description

I've got a brightness slider on my app'ss navigation drawer, I'm able to use it without any issues on iOS but the slider itself doesn't work on Android.

On Android, the slider only works when dragged with two fingers, tap to seek also works. However when I try dragging using one finger it doesn't work. I've created a snack below to reproduce this issue, any ideas what might be causing this?

Reproducible Demo

Here's a snack I created, you can try it on the android emulator.

nishmeht7 avatar Oct 10 '21 00:10 nishmeht7

Hello @nishmeht7, thank you for reporting that and providing me with an example. Two fingers are required to slide the <Slider/> on the Android when Accessibility is turned on, but I don't see it in the provided example of yours. Second thing that comes to my mind is the issue with parent scrolled element consuming the sliding on <Slider/>, just like #296. I will try to take a deeper look into that.

BartoszKlonowski avatar Oct 11 '21 22:10 BartoszKlonowski

@nishmeht7 Hi, I guess is gueture problem. You can try react-native-awesome-slider, sliding is disable other gesture.

alantoa avatar Jan 24 '22 08:01 alantoa

Its a gesture problem, the drawer gesture is overriding the slider gesture

blazk0 avatar May 26 '22 10:05 blazk0