Use animationend event instead of setTimeout in v-ripple #20042
Unanswered
tbontb-iaq
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just read the source code of
v-ripple
, and I found some places like this:Is it better to use
animationend
event? UsingsetTimeout
may cause some problems, for example: when debugging animations using Chrome DevTools and setting the animation rate to 10%, v-ripple's water ripple animation may not play correctly.Beta Was this translation helpful? Give feedback.
All reactions