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

Slider doesn't work on Android Navigation Drawer #326

Open
nishmeht7 opened this issue Oct 10, 2021 · 3 comments
Open

Slider doesn't work on Android Navigation Drawer #326

nishmeht7 opened this issue Oct 10, 2021 · 3 comments
Labels
bug report Something isn't working platform: Android Issue related to Android platform

Comments

@nishmeht7
Copy link

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 nishmeht7 added the bug report Something isn't working label Oct 10, 2021
@BartoszKlonowski
Copy link
Member

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 BartoszKlonowski added the platform: Android Issue related to Android platform label Oct 11, 2021
@alantoa
Copy link

alantoa commented Jan 24, 2022

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

@blazk0
Copy link

blazk0 commented May 26, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something isn't working platform: Android Issue related to Android platform
Projects
Status: To be analyzed
Development

No branches or pull requests

4 participants