lukeraymonddowning / infinite_scrolling_in_inertia_js

3 stars 6 forks source link

Page URL "flashes" intermittently and adds /?page=x as you infinite scroll #1

Open connecteev opened 1 year ago

connecteev commented 1 year ago

Thanks for this tutorial on Laracasts on infinite scrolling in Inertia. I noticed a glitch in the URL:

As you scroll down to view the infinite scroll in action, the page URL "flashes" intermittently and adds /?page=x, and then goes back to the base URL you initially loaded. it would be great if the URL stayed constant and didn't change like that.

Video demo: https://github.com/lukeraymonddowning/infinite_scrolling_in_inertia_js/assets/64816/41455f97-a29f-4fbd-902c-c036dbc3b160