Skip to content
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

Add duration parameter to Animated.spring #726

Open
ReactorCSA opened this issue Oct 29, 2023 · 0 comments
Open

Add duration parameter to Animated.spring #726

ReactorCSA opened this issue Oct 29, 2023 · 0 comments

Comments

@ReactorCSA
Copy link

Introduction

Add duration parameter to Animated.spring.

Sometimes theres a high need to synchronize animations. Example —
Cubes moving to random points and then they have to hide together. But because of current implementation the "hide" animation will occur only after the cube gets to the end point. Not synchronously.

Details

It can be done as in reanimated, they provide some duration functionality for spring animations as well as react-spring does.

Discussion points

No points. Just a very useful feature for animations :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant