I was using a `BottomDrawer` but that gave me issu...
# compose
f
I was using a
BottomDrawer
but that gave me issues when the content was scrollable (swiping would actually show the drawer instead of scrolling my content), so I migrated to a
BottomSheetScaffold
, but I don't seem to find away to add a scrim/darkened layer when the bottom sheet is showing like
BottomDrawer
does. Is this not supported by
BottomSheetScaffold
?
a
Try using
ModalBottomSheetLayout
f
ah, didn't know about that one, let me try. thx!
d
Otherwise you can use the
BackHandler
Composable
It will hijack the back clicks while it is enabled / exists.
f
@dewildte I'm assuming you meant to answer the question above mine?
d
🤦‍♂️ Oops, yeah sorry, I'm on mobile lol.
f
@alorma, that did it. I just had to do a little things to skip the Halfway-Expanded state, but now its working like I wanted, thanks so much!