Closed Pioooooo closed 1 year ago
Your screens are not fullscreen, so transition won't work as you would expect them to work. Add modifier = Modifier.fillMaxSize()
.
Other problem may be that you set transitions to None
, so there won't be any meaningful transition.
Your screens are not fullscreen, so transition won't work as you would expect them to work. Add
modifier = Modifier.fillMaxSize()
. Other problem may be that you set transitions toNone
, so there won't be any meaningful transition.
Thanks, the fillMaxSize
thing does work, but I didn't see it get mentioned in any document.😞 Anyway I am closing the issue I guess.
Still have this bug even if I don't have column and made Box Modifier.fillMaxSize()
. How to fix it?
Description I have an AnimatedNavHost with enter and exit transitions set to None. If none of the composable contents have Column inside, it looks good (or at least if only contains a Text). But when there's a Column inside, it has some weird animation during the transition between such a screen with Column and any other screen. Transition between two screens with no Column works fine.
https://user-images.githubusercontent.com/25563691/217388195-b9047998-bdfc-46f3-a4cf-d1922f71861d.mp4
Steps to reproduce
Expected behavior
Transit with no animation.
Additional context
Edit
Tried some other animation types and they all behave abnormally.