Can a parent container spring match the duration of a child multi-stage spring? #1328
Unanswered
samselikoff
asked this question in
Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there! Done some searching but couldn't find anything.
Is it possible to "back out" or derive the duration from a given spring config?
The reason I'm asking, is that I'm making a "Container" spring that wraps an inner transition spring. The inner spring is a multi-stage transition, and I want the Container's spring config to match the total duration of the complete multi-stage inner animation.
I know there's a
duration
prop but that seems to change the nature of the animations.I'm new to the lib so any pointers would be appreciated! Thanks for working on this awesome lib 👍
Beta Was this translation helpful? Give feedback.
All reactions