useTransition animations happen in sequence #1343
Unanswered
kennycrosby
asked this question in
Support
Replies: 2 comments
-
This is something that |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @kennycrosby possible solution for your problem can be found here: example for your case: |
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
-
Can my useTransition animations happen in sequence?
I have a button that changes to another button once clicked, the designers want this button to fully fade out before the next one fades in. Seemed easily doable but I can't seem to find anywhere in the docs how to achieve this. I tried useChain but that doesn't seem to be the intended purpose. useTransition seems to be the perfect hook for what I'm doing but I just want it to happen in sequence rather than at the same time. Is there something I am missing?
Buttons are indeed using animated.button and the fade is working, just not in sequence...
export const BackButton = styled(animated.button)
Beta Was this translation helpful? Give feedback.
All reactions