• Resolved RoselleCelina

    (@rosellecelina)


    Hi Sebastien,

    Everything works beautifully except for when you hit the back and forward buttons. When you hit those buttons, the url doesn’t match what the page jumps to.

    If I go to my latest post, and then scroll allllll the way down to my last post, and then hit the back button, it wont go to the top of the previous post. It just lands somewhere previously scrolled. Same thing goes if you’re hitting the forward button. Sometimes it goes somewhere, sometimes it doesn’t.

    I thought it was just an issue with my theme, but when I go to your demo site, it does it there too.

    Was wondering if you were aware of this and had a workaround?

    Thanks,
    Roselle

    P.S. Here’s a link to the YouTube video I made of the issue https://youtu.be/SZpIjXqkv3o

    The page I need help with: [log in to see the link]

Viewing 16 replies (of 16 total)
  • Plugin Author Sébastien Dumont

    (@sebd86)

    You need to first set debug mode ON for WordPress in the wp-config.php file. Then if set TRUE, define both the SCRIPT_DEBUG and ALNP_DEV_DEBUG to TRUE.

    define('WP_DEBUG', true);
    if ( WP_DEBUG ) {
      define( 'ALNP_DEV_DEBUG', true );
      define( 'SCRIPT_DEBUG', true );
    }

    This will allow the developer version of the JavaScript to load.

Viewing 16 replies (of 16 total)
  • The topic ‘Back button doesn’t go to the top of the last post’ is closed to new replies.