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 using useSpring with set(), one expects like the docs say that this will start an animation. When the change event is triggered, mySpring.isAnimating() returns false, and no animationComplete event is ever triggered.
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
piotrblasiak
changed the title
[BUG] useSpring not considered an animation, animationComplete not triggered
[BUG] useSpring not considered an animation & animationComplete not triggered
Dec 23, 2024
1. Read the FAQs 👇
2. Describe the bug
When using useSpring with set(), one expects like the docs say that this will start an animation. When the change event is triggered, mySpring.isAnimating() returns false, and no animationComplete event is ever triggered.
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
https://codesandbox.io/p/sandbox/9vjzhg?file=%2Fsrc%2FApp.js%3A12%2C1
4. Steps to reproduce
Steps to reproduce the behavior:
Open the console and press the button.
5. Expected behavior
Motion value should be marked as animating and animationComplete should be triggered.
6. Video or screenshots
Screen.Recording.2024-12-23.at.10.34.00.mov
The text was updated successfully, but these errors were encountered: