react-freeze icon indicating copy to clipboard operation
react-freeze copied to clipboard

Animation gesture performance frame drops

Open nandorojo opened this issue 4 years ago • 6 comments

When opening multiple screens with enableFreeze(true), gesture performance degrades a lot for me on the top-level screen. It gets fixed if I disable freeze. I'll put together a repro shortly, but wanted to post first to see if anyone else has had the same experience. I'll try to repro with a heavy gesture library to show the difference.

nandorojo avatar Dec 04 '21 16:12 nandorojo

hi @nandorojo is your issue related with react-native-reanimated or Animated from react native?

rinoarmadiaz avatar Dec 18 '21 04:12 rinoarmadiaz

With Reanimated 2 and Gesture Handler

nandorojo avatar Dec 18 '21 04:12 nandorojo

interesting, i'm about to add this library for my Chart component that uses reanimated 2.

will update here if i did experience the same thing.

rinoarmadiaz avatar Dec 18 '21 04:12 rinoarmadiaz

Which chart? It was happening to me with a chart as well. Noticeable when pushing multiple screens that had the chart.

nandorojo avatar Dec 18 '21 04:12 nandorojo

i'm using this Chart https://github.com/rainbow-me/react-native-animated-charts

but i move the codebase into my local repo & cherry pick some of the changes from https://github.com/rainbow-me/rainbow/tree/develop/src/react-native-animated-charts which has the latest code.

rinoarmadiaz avatar Dec 18 '21 04:12 rinoarmadiaz

Got it, I was using coinjar’s React Native WAGMI charts.

nandorojo avatar Dec 18 '21 04:12 nandorojo