logoalt Hacker News

brabelyesterday at 4:52 PM3 repliesview on HN

It’s funny how hilariously simple that is and the parent commenter making it sound like you need a full JS framework for that instead.


Replies

arjieyesterday at 11:08 PM

Infinite scroll is not a good tool for his use-case. Users will filter and then try to Cmd-F. They will get annoyed if you can’t search. It’s just bad UX. You can use infinite scroll for things like Twitter feed. Product search is just a different kind of UI.

Rohansiyesterday at 6:45 PM

It also doesn't actually work correctly - if you scroll too quickly it doesn't load more content. Possibly just a CSS issue on the example because the last row is not visible when scrolled to the bottom of the page due to the footer and its large margin.

Pxtlyesterday at 4:57 PM

I mean I'm not a front-end guy I was genuinely curious how well HTMX handles this kind of case.