You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working with a horizontal FlatList that displays full-screen items. Each item itself is a vertical FlatList. When I swipe left or right, the horizontal FlatList switches between items. When I scroll up or down, it should scroll the vertical FlatList within the current item.
The problem is, when the vertical FlatList inside an item is scrolling, the horizontal swipe gesture on the outer FlatList is not recognized at all. It seems no gestures are recognized while the vertical FlatList is scrolling.
I've seen some Flutter apps that can differentiate between scrolling and swiping gestures instantly.
How can I achieve this behavior in React Native using react-native-gesture-handler?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm working with a horizontal FlatList that displays full-screen items. Each item itself is a vertical FlatList. When I swipe left or right, the horizontal FlatList switches between items. When I scroll up or down, it should scroll the vertical FlatList within the current item.
The problem is, when the vertical FlatList inside an item is scrolling, the horizontal swipe gesture on the outer FlatList is not recognized at all. It seems no gestures are recognized while the vertical FlatList is scrolling.
I've seen some Flutter apps that can differentiate between scrolling and swiping gestures instantly.
How can I achieve this behavior in React Native using react-native-gesture-handler?
Thank you,
Beta Was this translation helpful? Give feedback.
All reactions