diff options
| author | Matias Niemelä | 2014-02-14 04:02:46 -0500 | 
|---|---|---|
| committer | Igor Minar | 2014-02-14 16:30:48 -0800 | 
| commit | 4f84f6b3e4210ae1eb14728a46d43dd961700a0c (patch) | |
| tree | 7194406fbd76e553687200fb1a6a284ca8ca1e60 /css | |
| parent | cf5e463abd2c23f62e9c2e6361e6c53048c8910e (diff) | |
| download | angular.js-4f84f6b3e4210ae1eb14728a46d43dd961700a0c.tar.bz2 | |
fix($animate): ensure $animate doesn't break natural CSS transitions
BREAKING CHANGE: ngClass and {{ class }} will now call the `setClass`
animation callback instead of addClass / removeClass when both a
addClass/removeClass operation is being executed on the element during the animation.
Please include the setClass animation callback as well as addClass and removeClass within
your JS animations to work with ngClass and {{ class }} directives.
Closes #6019
Diffstat (limited to 'css')
| -rw-r--r-- | css/angular.css | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/css/angular.css b/css/angular.css index b88e61e4..2566640e 100644 --- a/css/angular.css +++ b/css/angular.css @@ -9,3 +9,8 @@  ng\:form {    display: block;  } + +.ng-animate-block-transitions { +  transition:0s all!important; +  -webkit-transition:0s all!important; +} | 
