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

czuckie

11/17/2023, 11:40 AM
Material3 ModalBottomSheet doesn't appear to be filling the full size of the screen, despite setting
modifier.fillMaxSize()
. Is there anything I should check?
image.png
a

ascii

11/17/2023, 11:55 AM
Have you also set windowInsets to 0?
👀 1
c

czuckie

11/17/2023, 12:06 PM
do I set that on the bottom sheet?
setting it on the modal had no affect 😞
a

ascii

11/17/2023, 12:10 PM
Post your code then. It has always worked for me.
c

czuckie

11/17/2023, 12:12 PM
I'll try and make a minimal reproduction, cheers
The compose material catalog on the play store, by Google, also shows the issue, look at top right. This is a screenshot from my pixel fold
a

ascii

11/18/2023, 4:38 AM
Oh you mean the right-edge has a gap? I see it in your original image, but not in the catalog screenshot. I had assumed you wanted the sheet to be full-height; it's what was most obvious to me earlier. In any case, the issue you linked is marked as fixed. Are you still on alpha06 by any chance? Latest is alpha11.
2 Views