26

Htmx Infinite Scroll

Honestly I hate so much infinite scroll. It is a nightmare to see it spread like that.

Before you would easily go to see pages at random far positions. With infinite scroll there is this frustration of not reaching a bottom and after a few times scrolling and waiting for data to load, you give up, and never go past the fifty or hundred last entries at most.

14 hours agogreatgib

Even worse is the back button. Scroll any store and click on an item on page 10 of infinity and then use the back button. Back to page 1 you go. That’s why I open everything in a new tab pretty much by default.

7 hours agodrw85

Or you click things on some form, it changes query params in the url (that's fine), but then it turns out each change created a new history item, and to actually navigate back to the previous page you need to click Back 300 times >:(

2 hours agoorphea

Whenever I implement infinity scroll I always do it with query params for the page so that it is always possible to jump directly to page X.

4 hours agovictorbjorklund

Thank you