Skip to content

Commit e69761b

Browse files
committedAug 20, 2015
docs(ngAnimate): staggering example should contain duration:0s property
As of 1.4.4 this property needs to always be in the CSS code Related angular#12594
1 parent 97525a4 commit e69761b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/ngAnimate/module.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188
* /* this will have a 100ms delay between each successive leave animation */
189189
* transition-delay: 0.1s;
190190
*
191-
* /* in case the stagger doesn't work then the duration value
192-
* must be set to 0 to avoid an accidental CSS inheritance */
191+
* /* this must also be set (as of 1.4.4). This will signal ngAnimate
192+
* to not accidentally inherit a duration property from another CSS class */
193193
* transition-duration: 0s;
194194
* }
195195
* .my-animation.ng-enter.ng-enter-active {

0 commit comments

Comments
 (0)