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
The AnimationControls.finished promise stays pending if it's not immediately used after creating the animation. If I await this promise after the animation has already finished, it will await forever, which is unlike the normal behavior of the "finished" promise in WAAPI.
2. IMPORTANT: Provide a CodeSandbox reproduction of the bug
1. Describe the bug
The AnimationControls.finished promise stays pending if it's not immediately used after creating the animation. If I await this promise after the animation has already finished, it will await forever, which is unlike the normal behavior of the "finished" promise in WAAPI.
2. IMPORTANT: Provide a CodeSandbox reproduction of the bug
https://codesandbox.io/p/devbox/motionone-bug-k37tnt?file=%2Fsrc%2Findex.mjs
3. Steps to reproduce
4. Expected behavior
Console should show all "Case 1 finished", "Case 2 finished" and "Case 3 finished".