This repository has been archived by the owner on Nov 12, 2024. It is now read-only.
prevent interrupting consecutive animations #230
Unanswered
RyanNorooz
asked this question in
Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i've read the docs about interrupting animations.
but one use case for overwriting animations is mouse movement animations.
you can see what i mean in this codesandbox.
when you move the mouse it will trigger the move event numerous times but nothing happens.
only when you stop, animate function has a chance to start some animations because previous ones were interrupted.
https://codesandbox.io/s/tender-violet-h2k6hc?file=/src/index.js
is there a way to prevent this behavior?
Beta Was this translation helpful? Give feedback.
All reactions