by vmasto · 8y ago · 0 comments
I'm running infinite scroll in production serving thousands of photos and it works pretty well, constant 60fps, low memory consumption and you could literally scroll infinitely (given infinite content).
I've created various pages that sorta unrenders content, but all of them break the browser's find.
If you inspect you will notice that previous invisible items are represented by a single large div who's height increases as more items are scrolled out of view.
… breaking the browser’s Find. Also, things jump around the page as you scroll down. That site does it decidedly wrong.