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
{{ message }}
Repository navigation
requestAnimationFrame triggers a full repaint #8075
It does seem like we're doing a paint after rAF even when not necessary. It looks like it updates the styles for any animations, and assumes that it will need to do a new display list generation and paint. But in the case of a rAF with no actual animations or node changes, this isn't the case.
My understanding of the situation is that the animation state is either AnimationsPresent, AnimationCallbacksPresent, NoAnimationsPresent or NoAnimationCallbacksPresent, and there's then no way to know if animations are running or not once rAF has been called.
I guess the solution is to make the animation state values more granular.
Activity
paulrouget commentedon Oct 19, 2015
From #7868 (comment)
My understanding of the situation is that the animation state is either
AnimationsPresent,AnimationCallbacksPresent,NoAnimationsPresentorNoAnimationCallbacksPresent, and there's then no way to know if animations are running or not once rAF has been called.I guess the solution is to make the animation state values more granular.
paulrouget commentedon Apr 7, 2016
Doesn't happen anymore.