Update text.md

It wasn't clear the difference in behavior with and without *local*
pull/5130/head
ManuelDeLeon 5 years ago committed by GitHub
parent d19bcef690
commit f632cae03b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,7 +2,7 @@
title: Local transitions
---
Ordinarily, transitions will play on elements when any container block is added or destroyed. In the example here, toggling the visibility of the entire list also applies transitions to individual list elements.
Ordinarily, transitions will play on elements when any container block is added or destroyed. In the example here, toggling the visibility of the entire list also applies transitions to individual list elements. Notice how the list doesn't slide when you toggle the checkbox with the *local* transition, instead it pops in and out.
Instead, we'd like transitions to play only when individual items are added and removed — in other words, when the user drags the slider.

Loading…
Cancel
Save