Replies: 1 comment
-
Just pass it down normally, but don't read the |
Beta Was this translation helpful? Give feedback.
0 replies
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'm trying use the position prop material top tabs provides, which maps the current horizontal scroll position of the tab bar to a Reanimated Value, but it gives the crash explained in the post below. Initially I thought it might be an issue with the library below, but I tried passing down the animated value through props and I had similar crashes.
The only way I got it to work was to have every single component that's supposed to use the position in the same file with the material top tabs. So maybe my issue is "how to pass a reanimated value through props".
nandorojo/shared-animations#9
Any idea that might point me in the right direction is greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions