Any tips on how to force the BottomSheetModal to e...
# compose
j
Any tips on how to force the BottomSheetModal to expand to full and disable half expand?
c
ModalBottomSheetLayout
uses
ModalBottomSheetState
which has a
skipHalfExpanded
property. Try setting this property to
true
. It is also possible to pass it as an argument to
rememberModalBottomSheetState
.
👍 1
j
Thanks! I figured it out
a
Would anyone know how to do this with the Accompanist version of
ModalBottomSheetLayout
?
So I just made my own version of
rememberBottomSheetNavigator
that sets
skipHalfExpanded
to true 🤷‍♀️