Animating on Scroll Direction #2970
Unanswered
prayaslashkari
asked this question in
Q&A
Replies: 1 comment
-
One of the approach that I used was,
|
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to implement an animation, on the direction of scroll. I managed to store 'scrollDirection' in useSharedValue.
Now using that shareValue i want to trigger bunch of animation. The approach that I am using is, using that SharedValue I'm changing useAnimatedStyles. Is there any other way to trigger the animation apart from what I'm using for Cleaner Code as well as better readability.
Beta Was this translation helpful? Give feedback.
All reactions