Save scroll position in navigation history #30
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Great project! You have a scroll option, which is useful for when NEW content is loaded.
However, if i do the following:
I am taken to the top of the page again. So i have to scroll all the way back down, trying to find where i was before.
When i click a link, can pjax not record my scroll position before loading the new content, then when i go back to a page, take me back to the same scroll position?
This would be very helpful.
Thanks very much.
This will require some effort but this should be doable.
But I won't focus on that right now since I've lot of others stuff to finish.
I believe #40 is related to this.
@MoOx Would it be possible to implement this by storing the scroll position along with the state when calling
pushState()?Probably?