What's the best way to implement full screen botto...
# compose
k
What's the best way to implement full screen bottom sheets in Compose, that would work like BottomSheetDialogFragment? We are currently using Material3's
BottomSheetScaffold
in our screens that works fine, however we want to move some screens to be a bottom sheet look (popping out from bottom of the screen, draggable,...), but be a "standalone" screen. Its kind of a pain with BottomSheetScaffold, because the bottom sheet content is connected with the screen the sheet is started from (composes as soon as the starting is composed and so on). I know there's ModalBottomSheetLayout, but that's from Material2 library and throws warnings when used with Material 3 components in the same project and we try to avoid that. Is there any other solution that could be used here?
a
doesn't material 3 have a modal bottom sheet? why not use that?