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

allan.conda

03/24/2022, 8:49 PM
Anyone knows why setting
fillMaxSize
is ignored if specified below
verticalScroll
Modifier?
a

Adam Powell

03/24/2022, 9:01 PM
Modifiers are ordered; a modifier appearing after
verticalScroll
is part of the scrollable content. Since a vertically scrolling region has an infinite max height, fillMaxHeight doesn't have a visible effect 🙂
👍 3
a

allan.conda

03/24/2022, 9:06 PM
Thank you. I’m aware about modifiers being ordered and that’s why I was confused actually, and your explanation made it clear what’s happening.
👍 1
3 Views