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

Jonas Frid

07/04/2022, 12:41 PM
Any tips on how to force the BottomSheetModal to expand to full and disable half expand?
c

curioustechizen

07/04/2022, 12:48 PM
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

Jonas Frid

07/04/2022, 2:44 PM
Thanks! I figured it out
a

annsofi

07/06/2022, 2:41 PM
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 🤷‍♀️
8 Views