Open chrysb opened 6 months ago
I have a Switch component within a SectionList
Switch
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.
react-native-gesture-handler
I will likely just patch this locally, but something y'all should consider fixing.
Hey, can you show some code or provide a snack? I tried it and it worked for me
https://github.com/callstack/react-native-paper/assets/1676818/fd04318c-fa19-4957-a5bb-2bba6b997e78
Current behaviour
I have a
Switch
component within aSectionList
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
fromreact-native-gesture-handler
, it works.I will likely just patch this locally, but something y'all should consider fixing.
Your Environment