SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

fix(ngAnimate): properly cancel-out previously running class-based animations

Prior to this fix the addition and removal of a CSS class via
ngAnimate would cause flicker effects because $animate was unable
to keep track of the CSS classes once they were applied to the
element. This fix ensures that ngAnimate always keeps a reference
to the classes in the currently running animation so that cancelling
works accordingly.

The commit also adds a test for a previously untested animation merge path.

Closes #10156
Closes #13822
M
Matias Niemelä committed
20b8ece444408a64ac69f7b5d45ddb3af0c418a0
Parent: 6406e3b
Committed by Martin Staffa <mjstaffa@googlemail.com> on 1/23/2016, 3:28:51 PM