Skip to content

Commit 7a70b6c

Browse files
committed
add note about transition staggering with v-if and v-show - fixes #402
1 parent fe0232e commit 7a70b6c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/guide/transitions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,3 +440,5 @@ Vue.transition('stagger', {
440440
Example:
441441

442442
<iframe width="100%" height="200" style="margin-left:10px" src="https://jsfiddle.net/yyx990803/mvo99bse/embedded/result,html,js,css" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
443+
444+
<p class="tip">The `stagger` attribute will not affect the transition of items added or removed by `v-if` or `v-show`. Only changes to the array or object provided to `v-for` will cause transitions to stagger.</p>

0 commit comments

Comments
 (0)