When a OverlayScene-based SceneStrategy (e.g. a Mo...
# compose
e
When a OverlayScene-based SceneStrategy (e.g. a ModalBottomSheet-backed strategy) is used and a second overlay is pushed on top of an existing one, popping the top overlay causes the underlying overlay's composition to be disposed and re-created. Any state remembered inside the overlay's content() lambda including the SheetState returned by rememberModalBottomSheetState is reset, so a still-visible ModalBottomSheet animates from Hidden to Expanded again instead of remaining in place. Is this expected, and I shouldn't be stacking OverlayScenes, or is there a way to workaround this?
i
This is a bug, being tracked in https://issuetracker.google.com/issues/502624496
thank you color 1