I have a LazyColumn where items can change height. Is there a way to allow it to auto-scroll if the height of the bottom item changes when the user is scrolled all the way down? If the user is scrolled somewhere else, I want it to stay where they are.
s
shikasd
05/12/2023, 7:12 PM
You can try doing something like
scrollToItem(Int.MAX_VALUE)
or similar if
canScrollForward
is true on the state
l
Landry Norris
05/12/2023, 7:34 PM
Is it possible to have it do this scrolling as the size changes, or do I have to run this manually at various times?
s
shikasd
05/12/2023, 7:36 PM
You'll have to observe it and scroll in effect or similar place