You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue that might be the same (even this one seems to be cryptic, feel free to move this elsewhere) :
when I use a listState that can be modified, e.g.
val listState = mutableStateOf(LazyListState())
@Composable
funList() {
LazyColumnScrollbar(
state = listState.value,
settings =ScrollbarSettings(alwaysShowScrollbar =true)
) {
LazyColumn(
state = listState.value,
) {
.....
}
}
}
then changing the listState (for a new one, with listState.value = LazyListState()) makes the scrollbar completely buggy
(unusable and showing randomly either position 0 or old liststate position).
without (alwaysShowScrollbar = true), the scrollbar just disappears completely
I think the issue is that LazyColumnScrollbar is not recomposed correctly, but LazyColumn is recomposed, so the states are desynchronized ? I could be wrong tho
It is not preserve list state when changed screen configuration
The text was updated successfully, but these errors were encountered: