arel icon indicating copy to clipboard operation
arel copied to clipboard

Keep page Y scroll location when reloading

Open florimondmanca opened this issue 4 years ago • 0 comments

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.

florimondmanca avatar Jul 08 '20 13:07 florimondmanca