modifier to it
It seems that the composables in my NavHost can’t
fillMaxHeight()
anymore and fallback to wrapping the content size
Has anyone else managed to have “scrollable” NavHost? (reasoning behind this is to have a scrollState in which a collapsing toolbar can react to)
i
Ian Lake
07/02/2021, 5:04 PM
Adding vertical scrolling means there's an ~infinite max height (as the whole point of scrolling vertically is to have more content than what fits on the screen), so
fillMaxHeight()
inside a scrolling container doesn't make much sense?
c
curtjrees
07/02/2021, 5:26 PM
Ah that makes a lot of sense!
curtjrees
07/02/2021, 5:27 PM
Ideally I want to force the child to be at least full screen size, but guessing that’s not really possible without some manual calculation and setting minHeight