i have a chat app, the messages are viewed in a LazyColumn with scrollbar. now its super complicated to do anyway, but the real problem is that when a new message arrives the LazyColumn should be scrolled to the bottom. meaning the newest message should have its bottom at the view bottom. but instead the lastest message top is aligned with the view top. and one has to manually scroll down to read it all. is there a fix? and is there a good documentation to make a scrollable list of boxes (with text or images)?
a
Alexander Maryanovsky
12/29/2023, 10:45 AM
Look into BringIntoViewRequester
z
Zoff
12/30/2023, 6:47 PM
is there a good documentation and/or example for a chat app? i started with https://github.com/JetBrains/compose-multiplatform/tree/master/examples/chat
but this only gets me so far. for example how can i just change 1 single text message in the message view. for example a download progressbar or a read notifcation check mark, without updating everything?