I want to disable scrolling in my LazyColumn or Column.
Modifier.scrollable(state = rememberScrollState(), enabled = false, orientation = Orientation.Vertical)
or
Modifier.verticalScroll(...)
doesnt work.
Here is my Code:
Column(
modifier = Modifier
.fillMaxSize()
) {
Box(
modifier = Modifier
.padding(15.dp)
.height(60.dp)
.clip(RoundedCornerShape(30))
) {
TitleSection(text = stringResource(id = R.string...))
}
LazyColumn(
contentPadding = PaddingValues(start = 7.5.dp, end = 7.5.dp, bottom = 100.dp),
modifier = Modifier
.fillMaxHeight()
) {
items(categoryItemContents.size) { items ->
CategoryItem(categoryItemContents[items], navController = navController)
}
}
}