Is there a way to remember scroll state in LazyCol...
# compose
j
Is there a way to remember scroll state in LazyColumnFor? In ScrollableColumn, i can just pull out scrollState, LazyFor does not provide this parameter. When i try to use Modifier.verticalScroll() on LazyColumnFor using a saved scroll state, scroll behaviour is messed up (no acceleration when 'flinging' the page). Anybody uses LazyColumnFor with a saved scroll state?
m
scroll state from LazyColumnFor will be exposed in the near future
👍 3
cc @Ryan Mentley
We have it in
ScrollableColumn
, so it makes sense to me to have it in
LazyColumn
as well. File a feature request please
a
We have a bug for it, thanks
y
Uh ok thanks
Recently, I actually had to use scrollable column instead of lazy column, for this very reason.
Will keep an eye out for this