I have the following code and for some reason `Laz...
# compose-desktop
d
I have the following code and for some reason
LazyColumn
is not scrollable, it gets cut off. I will post a screenshot in the thread. Notice that I've added button and it is positioned correctly, so Box constraints are correct. I've added
PaddingValues
and now it's obvious that
LazyColumn
is not meausred with window's height. This is
1.0.0-beta5
. Do I do something wrong? Similar code works in Android afaik.
Copy code
Window(onCloseRequest = { exitApplication() }) {
  MaterialTheme {
    Box(modifier = Modifier.fillMaxSize()) {
      LazyColumn(modifier = Modifier.fillMaxSize(), contentPadding = PaddingValues(30.dp)) {
        items(80) { index -> Text("Hello $index") }
      }
      Button(onClick = {}, modifier = Modifier.align(Alignment.BottomStart)) { Text("Hello") }
    }
  }
}
message has been deleted
d
thanks! I suspected this might be an FAQ, tried searching but didn't put 2and2 together )
hmm. but this tells me how to add a scrollbar. but my question is that LazyColumn is not scrollable at all
oh wait. it's just that "tap to scroll" doesnt work, I See 🙂