Skip to content

Scroll position not preserved on app switch #48

@tdb-alcorn

Description

@tdb-alcorn

When I switch to another app or the home screen and then switch back to Elaho, the current page is reloaded and the scroll position is not preserved. I'm not sure if it is related to this issue or if I should open a new one.

Originally posted by @balazsbotond in #10 (comment)

I'm also experiencing the same issue as above. I believe it probably merits being it's own issue, since what's needed to fix this is different from the referenced issue. Afaik, iOS can purge an app from memory at any time if it is in the background. In this case it appears this is happening as soon as I switch away from Elaho. Relatedly, I'm also seeing the Elaho loading screen with the buck every time I open the app. Therefore, to fix this Elaho needs to write scroll position to storage somehow and reload it into memory whenever re-entering the app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions