You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to reanimated, but can't figure out how to hide the header and/or change the style of the StatusBar based on the value I get from useScrollViewOffset
I have tried useAnimatedProps but they are undefined. I tried using createAnimatedComponent to create an animated version of this components but that doesn't work.
What is the way of deal with this?
I also will do some actual styling animating to the content of the scroll view, but that seems straight forward from the documentation.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm new to reanimated, but can't figure out how to hide the header and/or change the style of the
StatusBar
based on the value I get fromuseScrollViewOffset
I have tried
useAnimatedProps
but they areundefined
. I tried usingcreateAnimatedComponent
to create an animated version of this components but that doesn't work.What is the way of deal with this?
I also will do some actual styling animating to the content of the scroll view, but that seems straight forward from the documentation.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions