react-native-draggable-flatlist icon indicating copy to clipboard operation
react-native-draggable-flatlist copied to clipboard

The app is freezing when I display the screen that contains DraggbleFlatList on debug-mode

Open oksuz opened this issue 3 years ago • 13 comments
trafficstars

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 avatar Mar 01 '22 19:03 oksuz

@oksuz same issue here, found any solution ?

ParthNandaniya avatar Mar 09 '22 06:03 ParthNandaniya

@ParthNandaniya no, not yet 😢 I'm going to deeply debug it as soon as i can

oksuz avatar Mar 09 '22 07:03 oksuz

Any update on this? I'm having the same issue

Jc-hammond avatar Mar 13 '22 20:03 Jc-hammond

Are you using Flipper?

https://docs.swmansion.com/react-native-reanimated/docs/next/#known-problems-and-limitations

SvenJonsson avatar Mar 14 '22 02:03 SvenJonsson

I'm also having the same issue...

felipemotarocha avatar Mar 15 '22 22:03 felipemotarocha

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

sliptype avatar Mar 17 '22 22:03 sliptype

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

zienna avatar Apr 05 '22 17:04 zienna

Any update on this? I'm having the same issue

amplework avatar Apr 11 '22 05:04 amplework

submitted an issue on the reanimated repo: https://github.com/software-mansion/react-native-reanimated/issues/3182

computerjazz avatar Apr 15 '22 20:04 computerjazz

Not a solution but the freeze stopped happening in debug mode after I turned off Debug with Chrome

mzruiz avatar May 01 '22 22:05 mzruiz

Any updates on this? It looks like reanimated closed the issue. We're using reanimated v2 and are seeing the same issue.

grantmagdanz avatar Jul 28 '22 13:07 grantmagdanz

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.

computerjazz avatar Jul 28 '22 20:07 computerjazz

I had this same issue for both Android and iOS. Upgraded to 4.0.0-beta.6 and can no longer repro. 👍

systemride avatar Aug 01 '22 20:08 systemride