I'm trying to get my `FlowRow` to scroll, but no s...
# compose
r
I'm trying to get my
FlowRow
to scroll, but no such thing is happening, what's wrong here?
Copy code
setContent {
            val state = rememberScrollState(0)

            MaterialTheme() {
                FlowRow(
                    horizontalArrangement = Arrangement.spacedBy(10.dp),
                    verticalArrangement = Arrangement.spacedBy(10.dp),
                    modifier = Modifier.scrollable(state,  Orientation.Vertical)
                ) {
Switched it to
Modifier.verticalScroll(state)
, and now it work blob thinking upside down
e
It says in the docs that
scrollable
has a contract. You will need to update the state yourself
r
🫠
217 Views