Skip to content

Switch component does not turn on with tap on Android, within SectionListΒ #4361

@chrysb

Description

@chrysb

Current behaviour

I have a Switch component within a SectionList

Tapping on it does not check the switch on Android. I can swipe to turn on the switch. I can tap to disable the switch, just not to turn it on.

By changing your code to use Switch from react-native-gesture-handler, it works.

I will likely just patch this locally, but something y'all should consider fixing.

Your Environment

software version
ios x
android 14
react-native 0.73.4
react-native-paper 5.12.3
node x.x.x
npm or yarn x.x.x
expo sdk ~50.0.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions