React Native Reanimated 'ScrollTo' Blocks Component Updates in Flatlist Child #5423
Unanswered
spagrhetti
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use React Native Reanimated's 'ScrollTo' method to create an automatic scrolling component. However, this component is used in a FlatList, and my problem is that I cannot interact with anything else inside of the Flatlist while the animation is running.
Here is an example of the behavior, outside and inside a FlatList:

And here is a link to that Snack:
https://snack.expo.dev/@spagrhetti/react-reanimated-in-flatlist-child?platform=ios
I have tried debugging by playing around with the different parameters (the WithTiming and WithRepeat values), but nothing seems to change the behavior. I am relatively new to React Native Reanimated, so please let me know if I am misusing the library.
Additionally, here is a link to a SO post I made about the problem: https://stackoverflow.com/questions/77557565/react-native-reanimated-scrollto-blocks-component-updates-in-flatlist-child
Beta Was this translation helpful? Give feedback.
All reactions