Site logo

Archived topic

Infinite scroll and browser previous page

4 replies · Started by Arnaud on April 18, 2019

Viewing posts 1–5 of 5

Hello,

I am almost at the point where I can focus entirely on the UX for our blog. I have noticed something that is bothering me as a user and will certainly bother our users. When on Homepage I request more articles using the infinite scroll button. Click on a post and then go back to the homepage using the browser back arrow (Chrome), all my previous actions are back to default, meaning none of the expended articles are there. Is there a way to have fix that with GP easily or I will need to custom code? Are you using an XMLHttpRequest to load the next articles?

Thanks!

Hi there,

We're using this library for infinite scroll: https://infinite-scroll.com/

It uses AJAX to call the next page of posts. I'm not sure if it's able to remember how many/which posts have been requested if the leave the page, unfortunately.

Hi Tom,

Thank you for your answer, very much appreciated. If it's not possible with GP then i'll pass for this time but i think that would be a good user experience. I might stay with the infinite scroll for sometimes and might switch to pagination in the long run.

Good day!

No problem! I'll do some digging to see if this is possible :)

Awesome! Thanks for your time Tom.

This archived topic is closed to new replies.