Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 7db5f36

Browse files
startswithajmatsko
authored andcommitted
fix(ngAnimate): $timeout without invokeApply
This change calls $timeout with the invokeApply parameter set to false which stops ngAnimate from invoking its changes inside an $apply block Closes #12281 Closes #12282
1 parent d494a69 commit 7db5f36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngAnimate/animateCss.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ var $AnimateCssProvider = ['$animateProvider', function($animateProvider) {
924924

925925
startTime = Date.now();
926926
element.on(events.join(' '), onAnimationProgress);
927-
$timeout(onAnimationExpired, maxDelayTime + CLOSING_TIME_BUFFER * maxDurationTime);
927+
$timeout(onAnimationExpired, maxDelayTime + CLOSING_TIME_BUFFER * maxDurationTime, false);
928928

929929
applyAnimationToStyles(element, options);
930930
}

0 commit comments

Comments
 (0)