docs: clarify that all elements in an outroing block remain until the transition finishes (#4684)

pull/4719/head
Daniel Imfeld 4 years ago committed by GitHub
parent dbfc44d078
commit 676d57b5f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -816,7 +816,7 @@ transition = (node: HTMLElement, params: any) => {
A transition is triggered by an element entering or leaving the DOM as a result of a state change.
When a block is transitioning out, elements inside the block are kept in the DOM until all current transitions have completed.
When a block is transitioning out, all elements inside the block, including those that do not have their own transitions, are kept in the DOM until every transition in the block has completed.
The `transition:` directive indicates a *bidirectional* transition, which means it can be smoothly reversed while the transition is in progress.

Loading…
Cancel
Save