Hello. I have a `material3` `BottomSheetScaffold` ...
# compose
w
Hello. I have a
material3
BottomSheetScaffold
with a
LazyColumn
as it's
sheetContent
. The
sheetPeekHeight
is set to aprox 75% of the height of the screen and that's when the BottomSheet is
PartiallyExpanded
. I want to scroll the
LazyColumn
without expanding the BottomSheet to fully cover the screen. I tried the flag
sheetSwipeEnabled
but it doesn't work when the
sheetContent
is scrollable (bug?). Any workarounds? ideas? Thank you.
d
I haven’t been able to get it to scroll without it being fully Expanded. I’ve managed to get scrolling working only when it is in the Expanded state. You could set the height of the sheet to 75% of the screen to get it scrolling from there, but then I don’t think the sheet would be able to fill the screen (I assume you might want that behaviour).
w
Yeah that's the problem if I fix the height it scrolls, but then I can't expand it to full height by dragging it. I want similar behavior to YouTube's description/ comments bottom sheet. Thanks for your input.
d
Ahh yeah I see, sorry I couldn’t be any help, good luck!