It seems that in a `Scaffold`, the content starts ...
# compose
s
It seems that in a
Scaffold
, the content starts underneath the
topBar
but goes to the bottom of the viewport, even if there's a
bottomBar
there. I noticed this because the
VerticalScroller
I added wasn't scrolling due to the content only just going under the
bottomBar
. Is this the correct behaviour, and if so should I be storing the measured height of the bottom bar to fit the main content inside the
Scaffold
?
z
Are you passing the modifier through to the VerticalScroller?
s
Which modifier? I've tried giving the VerticalScroller a Modifier.fillMaxSize. Have I completely misunderstood something about how modifiers should move between parent-child relationships?
m
The bodyContent has a
Padding
parameter. Just use it with a Modifier.padding
s
Oh great. Completely missed that, thanks!