-
I have a Parent View that has a Child View as a child. The Child View has entering/exiting animations where it slides from the top. The Parent View has a linear layout transition to animate its height, however there is a delay in the transition. Here is a sample code:
Video of how it looks: Simulator.Screen.Recording.-.iPhone.15.-.2024-04-24.at.10.11.43.mp4What I would like is to have the entering/exiting animation be in sync with the layout transition. What is the best way to do that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 |
Beta Was this translation helpful? Give feedback.
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 removeentering
andexiting
animations from the child.