Skip to content
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

DraggableFlatList disables createMaterialTopTabNavigator swipe navigation #513

Open
s11eta1yek opened this issue Nov 28, 2023 · 1 comment

Comments

@s11eta1yek
Copy link

When I use DraggableFlatList in a Tab screen, I can no longer swipe to other Tab screens. the swipe feature doesn't work at all, it's like something is completely blocking the react navigation gesture handler.

To Reproduce
In order to reproduce the issue, you can create a createMaterialTopTabNavigator from react-navigation and inside one of the tabs use DraggableFlatList and make sure it contains the whole view of the screen. then try swiping to another tab, and you can't. but you will be able to swipe back to the draggableflatlist page from the other tabs that don't have it.

Platform & Dependencies
Please list any applicable dependencies in addition to those below (react-navigation etc).

  • react-native-draggable-flatlist version: ^4.0.1
  • Platform: Android (I'm not using expo)
  • React Native or Expo version: "react-native": "0.72.6",
  • Reanimated version: "react-native-reanimated": "^3.5.4",
  • React Native Gesture Handler version: "react-native-gesture-handler": "^2.14.0",
@Mlio22
Copy link

Mlio22 commented Dec 28, 2023

Can you use NestableScrollContainer and NestableDraggableFlatList instead of DraggableFlatList? it works on me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants