dimsuz
08/26/2021, 12:12 PMBox
with two composables of different height and use `AnimateVisibility`/`AnimateContent` so that one of them is removed, what is the best way to make this Box
stay with height = max(composable1.height, composable2.height)
? Otherwise layout content jumps which doesn't look good.Doris Liu
08/26/2021, 4:23 PMcontentAlignment
for AnimatedContent
to center the content of different height.
Combined with the default size animation it should give you a smooth change of the content instead of jump.dimsuz
08/26/2021, 5:48 PMDoris Liu
08/26/2021, 6:24 PM