Staggered animation in Reanimated 2 Paradigm? #1736
Unanswered
kiddyfurby
asked this question in
Q&A
Replies: 1 comment
-
I thnik that there are planty of ways. Here is one of them: |
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
-
Similar to #540,
What would one do to run parallel animations that stagger from each other with a fixed time interval?
I tried this:
setTimeout(() => { a.value = withRepeat(withTiming(1, d2), -1 }, 500);
setTimeout(() => { b.value = withRepeat(withTiming(1, d2), -1}, 1000);
...
With that, b nicely delay itself behind a by 500 ms,
BUT when the device resume from sleep (screen off and on), a and b became synchronized, the 500 ms stagger is gone.
Beta Was this translation helpful? Give feedback.
All reactions