Animate <progress> element value
#3387
Unanswered
clarityflowers
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any way to animate the
valueproperty of a<progress>element? I've found a workaround with aMotionValuechangeevent handler that manually updates the value like this (in React):But I'm wondering why I can't just do
<motion.progress animate={{value: value}}/>. And I suspect there may be issues with my workaround here that I'm not aware of.Beta Was this translation helpful? Give feedback.
All reactions