Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Even worse is how infinite scrolling breaks Ctrl-F searching. Most websites no longer render the offscreen content to improve performance, so the content you scrolled past (and the content you haven't gotten to yet) is no longer there for searching.


> Most websites no longer render the offscreen content to improve performance

Which may now be obsolete. Over the last year firefox has implemented some amazing flexbox layout computation improvements that make appending to a flexbox with many elements (>5k) stay fast. It only re-computes the changed ones.

Of course you need to do some profiling to check that you don't accidentally deviate from the happy path by introducing changes that touch all elements.


That's probably just a poor implementation on those websites. I thought the ability to search across larger content using Ctrl-F is one of the major advantages of infinite scrolling over traditional pagination.


> Most websites no longer render the offscreen content to improve performance

I noticed when trying to screenshot a Twitter thread in Firefox that twitter does this, on the mobile site at least.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: