LiveFastEatTrashRaccoon / RaccoonForFriendica

A Kotlin Multiplatform client for Friendica
https://livefasteattrashraccoon.github.io/RaccoonForFriendica/
GNU General Public License v3.0
20 stars 0 forks source link

[Navigation] List scroll position is lost when app gets focus back #470

Open AkesiSeli opened 6 days ago

AkesiSeli commented 6 days ago

After opening an external URL in the browser, the current timelines resets back to its top position and the original scroll position is lost.

Original report here.

AkesiSeli commented 6 days ago

It turned out, since the URL is opened in another application, that the issue is related to state restoration after process death. I hope common ViewModels will allow to solve the issue using SavedStateHandles just like in plain native code.

However, they are compatible with Voyager only starting from 1.1.0-beta01 so I should either: