I have scroll state with rememberScrollableState(), used in Column:
Ahmet Hasim Delibas
10/22/2021, 2:36 PM
Copy code
fun Screen() {
val scrollState = rememberScrollState()
Column(
modifier = Modifier
.fillMaxSize()
.verticalScroll(scrollState),
) {
//...
}
}
and in this column I have states. In some cases, after the mutable states changed, the position of the Screen is not preserved. The position scrolls a little bit. Do you guys know the reason?
c
cb
10/22/2021, 6:33 PM
I'm guessing because the content has changed size? The absolute scroll offset should be preserved, but that doesn't mean the same content will be displayed on screen