Skip to content

Commit 84ac0ee

Browse files
fix(ngAnimate): ensure invalid merged animations are cleared from the element
See angular#11755 (comment)
1 parent 72b8fa7 commit 84ac0ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ngAnimate/animateQueue.js

+1
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ var $$AnimateQueueProvider = ['$animateProvider', function($animateProvider) {
366366

367367
if (!isValidAnimation) {
368368
close();
369+
clearElementAnimationState(element);
369370
return runner;
370371
}
371372

0 commit comments

Comments
 (0)