Skip to content

How can I sync an entering/exiting animation of a child view with the layout transition of a parent view? #5932

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

You must be logged in to vote

Hey!

There is currently no possibility to sync layout transitions. They run independently and doesn't know of each other so probably you won't achieve the desired effect with the layout transition.

If you want to animate the parent together with the child, you can just stick to the layout={LinearTransition} property in the parent and remove entering and exiting animations from the child.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
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
2 participants