You can scroll using scrollState.scrollTo
. To track content height change, you can check scrollState.maxValue
, for example like this:
LaunchedEffect(scrollState.maxValue) {
scrollState.scrollTo(scrollState.maxValue)
// or
// scrollState.animateScrollTo(scrollState.maxValue)
}
CLICK HERE to find out more related problems solutions.