[Resolved] Infinite scroll and browser previous page

Home Forums Support [Resolved] Infinite scroll and browser previous page

Home Forums Support Infinite scroll and browser previous page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #872717
    Arnaud

    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!

    #873036
    Tom
    Lead Developer
    Lead Developer

    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.

    #873351
    Arnaud

    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!

    #873619
    Tom
    Lead Developer
    Lead Developer

    No problem! I’ll do some digging to see if this is possible 🙂

    #873625
    Arnaud

    Awesome! Thanks for your time Tom.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.