Skip to content

Is it intended that exiting animation happens after layout recalculation? #3596

Answered by MatiPl01
vjeranc asked this question in Q&A
Discussion options

You must be logged in to vote

Layout animations don't have an impact on when components are mounted/unmounted. They just animate the layout change of the specific component (the one on which they are used).

If you remove the component, all content rendered below will shift up immediately, unless you pass the layout property to every sibling of the removed component rendered below.

The solution I proposed in this discussion might be helpful for you.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@MatiPl01
Comment options

Answer selected by MatiPl01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants