react-native-draggable-flatlist
react-native-draggable-flatlist copied to clipboard
The app is freezing when I display the screen that contains DraggbleFlatList on debug-mode
Describe the bug
My app is mysteriously freezing on the screen that contains DraggableFlatList. I've started to investigate the problem with running app directly from XCode(chrome debugger didn't step in as normal) and I noticed that it is working as expected (no freezing) after that
as soon as I started app with cmd npm run ios I turned off debug mode the problem has been disappeared. I am not able to debug the screens which have DraggbleFlatList currenlty.
Platform & Dependencies Please list any applicable dependencies in addition to those below (react-navigation etc).
- react-native-draggable-flatlist version: ^3.0.6
- Platform: iOS
- React Native or Expo version: bare react-native project
- Reanimated version: ^2.4.1
- React Native Gesture Handler version: ^1.10.3
Additional context Add any other context about the problem here.
@oksuz same issue here, found any solution ?
@ParthNandaniya no, not yet 😢 I'm going to deeply debug it as soon as i can
Any update on this? I'm having the same issue
Are you using Flipper?
https://docs.swmansion.com/react-native-reanimated/docs/next/#known-problems-and-limitations
I'm also having the same issue...
I was able to get it working by downgrading to react-native-reanimated 1.13.4
npm i [email protected]
I also removed the babel plugin and android changes described in the 2.x.x version of the installation docs: https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation
same issue here. It seems to be related to react-native-reanimated version 2+. I can't downgrade the version so I need a workaround
Any update on this? I'm having the same issue
submitted an issue on the reanimated repo: https://github.com/software-mansion/react-native-reanimated/issues/3182
Not a solution but the freeze stopped happening in debug mode after I turned off Debug with Chrome
Any updates on this? It looks like reanimated closed the issue. We're using reanimated v2 and are seeing the same issue.
you can use the "beta" tagged release if you want to give the fully-reanimated-v2-api version of draggable flatlist: https://www.npmjs.com/package/react-native-draggable-flatlist?activeTab=versions
Unfortunately, there's a "performance vs support" tradeoff -- reanimated v1 is no longer supported, but v2 has potential performance issues.
I had this same issue for both Android and iOS. Upgraded to 4.0.0-beta.6 and can no longer repro. 👍