-
-
Notifications
You must be signed in to change notification settings - Fork 980
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
Touchables do not register taps in nested FlatList on iOS #2860
Comments
Hey, the issue is with how the |
Thank you for the response @coado. |
Have you tried using |
Oh! The version I am using does not have |
@coado Thank you! Using |
Description
Hello!
We are using react-native-gesture-handler in our project and currently working on a layout that involves Touchables and nested FlatLists. We have come across an issue on iOS and are hoping to receive some guidance. I am creating this issue because I am seeing the behaviour we expect on Android.
A quick description of the layout is as follows:
Our issue is that while both the vertical and horizontal scrolling is working, tapping in the area occupied by the FlatList does not trigger the onPress callback of the Touchable. Only touches in the area occupied by the text description will trigger the onPress callback.
Please reference the screenshot below for a reference to the layout. The images are represented by the different color blocks.
Steps to reproduce
See code sample below for an example:
Snack or a link to a repository
https://snack.expo.dev/wnDDkWgK60-bO0jYdCOBZ
Gesture Handler version
2.16.0
React Native version
0.71.16
Platforms
iOS
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Paper (Old Architecture)
Build type
Debug mode
Device
None
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: