Is it possible in Material `rememberModalBottomShe...
# compose
k
Is it possible in Material
rememberModalBottomSheetState
to only have very top visible, so user can pull modal back in. I am unable to achieve this with https://developer.android.com/jetpack/compose/layouts/material#bottom-sheets
So initial state should be fully visible, but when user swipes down, to have that modal very top still visible, until action is completed, than I wanna have it completely hidden.
s
Are you perhaps looking for the non-modal version, like the one coming with the scaffold, it has functions like
rememberBottomSheetScaffoldState
and such.
Otherwise I think the modal one is kind of like a dialog, either it shows fully and disallows actions behind it, or it’s not shown. At least that’s my understanding of it
k
Oh well, so I'm trying to force wrong modal. I'm gonna look at scaffold one, tnx