Skip to content

[bug]: animation broken on v10 #2376

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

Open
1 of 5 tasks
alexkahndev opened this issue May 24, 2025 · 4 comments
Open
1 of 5 tasks

[bug]: animation broken on v10 #2376

alexkahndev opened this issue May 24, 2025 · 4 comments
Labels
template: bug This issue might be a bug

Comments

@alexkahndev
Copy link

alexkahndev commented May 24, 2025

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?

10.0.1

What's Wrong?

I have an animation for a dropdown container that grows it and fades it in. Through version 9.7.5 and even an older version of the beta this animation worked. On version 10 this animation no longer fires. Adding an onChange shows its never fired on v10. I have other animations that work with v10 but I think maybe scale may be the culprit here

To Reproduce

You can reproduce the bug by running the project at https://github.com/alexkahndev/react-spring-v10-bug. You will notice that no dropdown appears and no animation is run.

Expected Behaviour

20250524-0914-10.4955344.mp4

Link to repo

https://github.com/alexkahndev/react-spring-v10-bug

@alexkahndev alexkahndev added the template: bug This issue might be a bug label May 24, 2025
@terrymun
Copy link

This might be related to the issue I'm also seeing with the imperative API: #2377

What happens if you downgrade from 10.0.1 back to 10.0.0, can you still see the issue? For me, it was the patch version bump that broke the imperative API for me.

@alexkahndev
Copy link
Author

For my issue even on version 10.0.0 it does not animate. The last working version for this animation is 9.7.5

@GoncharovV
Copy link

+1

@diegomacario
Copy link

Same for me, the last working version is 9.7.5

With 10.0.0 and greater the imperative API doesn't work anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
template: bug This issue might be a bug
Projects
None yet
Development

No branches or pull requests

4 participants