From 594f36e458803589b406222eb65ea50f842093f7 Mon Sep 17 00:00:00 2001 From: startswithaj Date: Tue, 7 Jul 2015 14:57:33 +1000 Subject: [PATCH] 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 --- src/ngAnimate/animateCss.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngAnimate/animateCss.js b/src/ngAnimate/animateCss.js index 50a842717f29..75383be57136 100644 --- a/src/ngAnimate/animateCss.js +++ b/src/ngAnimate/animateCss.js @@ -912,7 +912,7 @@ var $AnimateCssProvider = ['$animateProvider', function($animateProvider) { startTime = Date.now(); element.on(events.join(' '), onAnimationProgress); - $timeout(onAnimationExpired, maxDelayTime + CLOSING_TIME_BUFFER * maxDurationTime); + $timeout(onAnimationExpired, maxDelayTime + CLOSING_TIME_BUFFER * maxDurationTime, false); applyAnimationToStyles(element, options); }