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

Commit 728f7e2

Browse files
matskoNarretz
authored andcommitted
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 #12594 Closes #12637
1 parent 5f70406 commit 728f7e2

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+
* /* As of 1.4.4, this must always be set: it signals ngAnimate
192+
* to not accidentally inherit a delay property from another CSS class */
193193
* transition-duration: 0s;
194194
* }
195195
* .my-animation.ng-enter.ng-enter-active {

0 commit comments

Comments
 (0)