https://kotlinlang.org logo
Title
a

Alex Nabrozidis

05/12/2023, 8:19 AM
Hi I'm migrating a screen from material 2 to material 3 while also making the activity edge to edge. The issue I'm having is that the new ModalBottomSheet is not drawing on the navigation system bar thus the scaffold content can be seen there, which looks very ugly. Is there something very obvious I might be missing?
t

Tgo1014

05/12/2023, 8:22 AM
a

Alex Nabrozidis

05/12/2023, 8:24 AM
Ah yes I did indeed see the windowInsets parameter on the ModalBottomSheetSample but I thought it was an old or internal thing
many thanks, I guess I'll have to wait for another 2 weeks before migrating then (and hope it won't go to 1.2.0 😅)
t

Tgo1014

05/12/2023, 8:31 AM
Yeah, I'm also waiting for it, was hoping for it to be in some alpha but I'm not sure
a

Alex Nabrozidis

05/12/2023, 8:33 AM
I think I might just trying disabling edge to edge for now as I'd like to remove the material2 dependency