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
fix($animateCss): avoid flicker caused by temporary classes
Currently, this only affects `ngHide`/`ngShow` animations (but the problem was
more general and could theoretically affect other animations in the future).
Adding the temporary classes immediately, while forcing a reflow before starting
the animation, could cause flickering.
This commit fixes the issue, by not applying the temporary classes until the
animation actually starts. Since `tempClasses` was an undocumented, private
feature (surrently only used for `ngHide`/`ngShow`), it will not affect custom
animations.
Alternative approach to angular#15463.
Fixesangular#14015Closesangular#15463
0 commit comments