You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a decay animation ends, in the last frame the value resets to "to". The decay animation isn't supposed to use "to" though.
Reference: #887 (comment)
Probably happens because of this (no decay animation check).
* chore(demos): add rocket-decay demo
* fix: check if immediate has changed to true to trigger inertia
* fix: add BIC
* fix: when decay is finished anim.to is set causing jump
resolves#1437
🐛 Bug Report
When a decay animation ends, in the last frame the value resets to "to". The decay animation isn't supposed to use "to" though.
Reference: #887 (comment)
Probably happens because of this (no decay animation check).
To Reproduce
This is a sandbox that replicates the issue.
Expected behavior
No jump at the end of the decay animation
Link to repro (highly encouraged)
https://codesandbox.io/s/decay-v901-jump-cvwgi
Environment
react-spring
v9.0.1The text was updated successfully, but these errors were encountered: