We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@react-spring/web
@react-spring/three
@react-spring/native
@react-spring/konva
@react-spring/zdog
9.7.1
useTransition springs are not starting if called with a dependency array in >=v9.5.0. It works as expected and documented <=v9.5.0.
Open codesandbox Click the toggle button (nothing happens) Switch to v 9.5.0 Click toggle button again (a div is animating in)
I expected useTransition to animate if the state in the dependency array changes.
https://codesandbox.io/s/loving-snyder-6llsgg
The text was updated successfully, but these errors were encountered:
Similar to #2171 but with working codesandbox
Sorry, something went wrong.
No branches or pull requests
Which react-spring target are you using?
@react-spring/web
@react-spring/three
@react-spring/native
@react-spring/konva
@react-spring/zdog
What version of react-spring are you using?
9.7.1
What's Wrong?
useTransition springs are not starting if called with a dependency array in >=v9.5.0. It works as expected and documented <=v9.5.0.
To Reproduce
Open codesandbox
Click the toggle button (nothing happens)
Switch to v 9.5.0
Click toggle button again (a div is animating in)
Expected Behaviour
I expected useTransition to animate if the state in the dependency array changes.
Link to repo
https://codesandbox.io/s/loving-snyder-6llsgg
The text was updated successfully, but these errors were encountered: