-
Notifications
You must be signed in to change notification settings - Fork 131
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
Control speed of animation #30
Comments
Heya, react-spring support it. If I expose it like this: ref.current.snapTo(({maxHeight}) => maxHeight, {duration: 250}) would that work for you? |
That would be great. Thanks! |
Hello there! Would it be conceivable to also have an API to set the duration/spring config at the component level? What do you think? |
@simonrelet yes that is the idea. The reason I've held off on it though is that these options are different in the upcoming version of |
Hi @stipsan , I think we will have the good news soon . |
Hi @stipsan , we have a good news from |
FYI - Here is an answer for changing the speed |
Is there a way to control the speed of the animation?
Specifically using the
snapTo
method.(Awesome, awesome library!)
The text was updated successfully, but these errors were encountered: