Lazy Column won't scroll

61 Views Asked by At
Column(
        modifier = Modifier
            .fillMaxSize()
            .padding(top = 32.dp)
            .padding(horizontal = 16.dp),
        verticalArrangement = Arrangement.spacedBy(16.dp)
    ) {
      SomeHeader()
      Results()
      SomeOtherComposable()
    }

Results looks like

ListOfResults()

And the list of results is

LazyColumn(
    modifier = modifier
        .padding(top = 16.dp)
        .fillMaxSize(),
    verticalArrangement = Arrangement.spacedBy(12.dp),

    ) {
    items(items = results, key = { it.id }) { result ->
        ResultItem(result = result)
      }

So, the problem is when I want to scroll the Results() I can't scroll them. I've tried with the rememberScrollState and similar stuff and that's not working.

0

There are 0 best solutions below