TransitionGroup lag when using requestAnimationFrame #7008
Unanswered
qminds
asked this question in
Help/Questions
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.
-
Description
I'm creating the following app logic:
I'm also animating the number change for the total price using the
requestAnimationFrame
.So far so good, the number animation itself works fine.
Problem
However, my
TransitionGroup
move transition starts to lag when I have the following element structure:Notes
Transition
elements andrequestAnimationFrame
.TransitionGroup
move animation works fine if I remove the parentTransition
element.TransitionGroup
move animation works fine if I remove the number counter based onrequestAnimationFrame
.Demo
https://stackblitz.com/edit/vitejs-vite-a4hnef?file=src/components/App.vue
Beta Was this translation helpful? Give feedback.
All reactions