How do I update a "to" property config between steps? #1827
Unanswered
varunarora
asked this question in
Support
Replies: 1 comment 3 replies
-
In your case I would just simply use the imperative API. This way you can pass an individual config for each animation / spring. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I am doing a multi-step animation on the same component.
However, after the first step ends, I wish to change the animation config on the component (e.g. duration) on the component. For example, the first step should take 1 second, and the second should take 5 seconds.
Even though this seems like a very simple use case, I have read and re-read and re-read the docs, and can't find a way to do this. I feel
useChain
oruseTransition
is not correct for this, since all the springs and steps for a simple component are declared together. Either way, I feel really lost.Could you kindly point me in the right direction?
Beta Was this translation helpful? Give feedback.
All reactions