Great project! You have a scroll option, which is useful for when NEW content is loaded.
However, if i do the following:
visited a link
scrolled down the page
clicked on a new link
viewed the new page
hit the back button
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.
Great project! You have a scroll option, which is useful for when NEW content is loaded.
However, if i do the following:
- visited a link
- scrolled down the page
- clicked on a new link
- viewed the new page
- hit the back button
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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?