https://kotlinlang.org logo
#compose
Title
# compose
t

Tolriq

08/26/2021, 4:56 PM
What is the proper way to have a bottomsheet shown over the navigation bar from a subscreen ?
1
c

Csaba Kozák

08/27/2021, 7:59 AM
We managed to do that by having placed the subscreens above the navigation bar, but put a padding inside so they do not cover it. Then we could show the bottom sheet from them, but those do not have the padding, so they cover the bottom nav.
t

Tolriq

08/27/2021, 8:10 AM
Thanks, nice workaround, would be a little complex for me as I also have a mini player bar that can expand above the subscreens 😞 I've seen others pushing the bottomsheet content as with a stateflow<Composable>. This works nicely but does not support process death.
4 Views