Skip to content

Slider doesn't work on Android Navigation Drawer #326

Open

Description

@nishmeht7

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.

Activity

  1. BartoszKlonowski commented on Oct 11, 2021

    @BartoszKlonowski
    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.

  2. blazk0 commented on May 26, 2022

    @blazk0

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

  3. ipoogleduck commented on Apr 20, 2025

    @ipoogleduck

    I had a very similar issue using @gorhom/bottom-sheet and just had to set enableContentPanningGesture={false} on the component

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug reportSomething isn't workingplatform: AndroidIssue related to Android platform

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions