News for hackers. Stuff that matters.
Re:Stop Infinite Scrolling by cm2187 on Wednesday September 11, 2019 @04:23AM (#20937721)
Even in some case scrolling back to the top makes you lose the progress. And that happens automatically when you do a Ctr-F and start typing, the matching of the first character you type will likely be at the top of the page.
Re:Stop Infinite Scrolling by km3k on Wednesday September 11, 2019 @09:08AM (#20939697)
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.
Re:Stop Infinite Scrolling by the8472 on Wednesday September 11, 2019 @04:32PM (#20944353)
> 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.

Re:Stop Infinite Scrolling by dugluak on Wednesday September 11, 2019 @03:46PM (#20943905)
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.
Re:Stop Infinite Scrolling by 0xdeadb00f on Thursday September 12, 2019 @06:29PM (#20957156)
> 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.