Skip to content

Keep page Y scroll location when reloading #14

@florimondmanca

Description

@florimondmanca

Currently when arel triggers a page reload, the page scrolls back to the top. In tight edit loops where we're comparing changes in the middle of the page, this can become tiresome.

Let's store the client Y scroll position before reloading and restore it after reload. We can probably use localStorage to achieve this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions