-
Notifications
You must be signed in to change notification settings - Fork 778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] coordinate durations of types animate with spring #1062
Comments
You can give individually named transitions to any transition prop, with “default” as a fallback for any you didn’t explicitly mention |
Maybe this sandbox will help demonstrate what feature I am suggesting: |
Oh I see. Thanks for that example, yeah spring accepts duration. If you set duration you can change its feel by setting bounce from between 0 and 1 |
Explicitly setting duration on spring works and bounce allows you to tweak. Nice. Can you go the other way, and get an estimated duration (probably from a utility function) for a spring with fine tuned parameters like
|
Is this is a bug with If it is a bug, any suggestions where I could investigate to help fix? |
No, this isn't possible and probably won't ever be. You have to use |
I want to coordinate two animations to complete at the same time.
One is a
type: 'spring'
and the other is atype: 'animate', duration: x
.Can I solve for duration x given different parameters to the spring?
The text was updated successfully, but these errors were encountered: