arel
arel copied to clipboard
Keep page Y scroll location when reloading
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.