I have a Column and inside the Column, I have a Spacer with a specific size and a LazyColumn. What is happening now is that when I want to scroll, First LazyColumn starts to scrolling, and when it reaches the end, the Column starts scrolling to the end.
What I want is that first the Column starts to scroll and when it reaches the end, My LazyColumn starts to scroll.
This is my sample code
Column(
modifier = Modifier
.fillMaxHeight()
.verticalScroll(scrollState),
) {
Spacer(modifier = Modifier.height(300.dp))
LazyColumn(
modifier = Modifier
.height(LocalConfiguration.current.screenHeightDp.dp)
.fillMaxSize(),
) {
items(50) { item ->
Text(modifier = Modifier.height(40.dp), text = "ITEM NUMBER: $item")
}
}
}