I have a main compose with a scaffold, top app bar, FAB, navigation bar. Then I have a couple of composable screens I can navigate to and the navigation animation is working fine, which means the default fade in, fade out of Accompanist Navigation Animation.
Then I have another screen, let's call it B, which has its own scaffold and top app bar. Whenever I navigate to that screen B, the content of the main screen weirdly jump up quickly before fading out. And when I come back, the content of screen B moves down quickly before fading out.
Is there a way to force the content to stay in place? I guess it as to do with navigating from a scaffold to another one.