Material3 ModalBottomSheet doesn't appear to be fi...
# compose
c
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
Have you also set windowInsets to 0?
👀 1
c
do I set that on the bottom sheet?
setting it on the modal had no affect 😞
a
Post your code then. It has always worked for me.
c
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
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.