how can I add proper bottom padding in a ModalBott...
# compose
r
how can I add proper bottom padding in a ModalBottomSheet to make it respect different navigaion options?
Tried using a spacer, but it doesn't work
Copy code
Spacer(Modifier.windowInsetsBottomHeight(WindowInsets.navigationBars))
a
Modifier.navigationBarsPadding() ?
a
Default window insets (
BottomSheetDefaults.windowInsets
) should already be enough for both status & nav bar. Have you passed in something else?
106 Views