-
I noticed that exiting animation starts after the layout reflects the removal of the element.
I would expect 4. 5. 6. to be reversed (first exiting animates, then component dismounts and then layout recalculates - 6. 5. 4 or 4. 6. 5.). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@vjeranc I don't suppose you ever solved this? I'm having the same problem |
Beta Was this translation helpful? Give feedback.
-
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 The solution I proposed in this discussion might be helpful for you. |
Beta Was this translation helpful? Give feedback.
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.