News for hackers. Stuff that matters.
Re:Problems with infinite scroll by minitech on Sunday October 21, 2018 @05:59PM (#18270584)
You have to be careful about which types of content you remove, though, to avoid breaking the browser’s Find. (Reddit is an example of a site that currently does this wrong.)
Re:Problems with infinite scroll by delecti on Sunday October 21, 2018 @07:54PM (#18271097)
I spent a lot of time on Reddit and have never seen infinite scroll on it except when I had the 3rd party plugin "Reddit Enhancement Suite" installed. Is it in the new layout they pushed out recently, or do you have RES installed?
Re:Problems with infinite scroll by minitech on Sunday October 21, 2018 @09:40PM (#18271540)
The new layout for profile pages is where I noticed this problem. No RES.
Re:Problems with infinite scroll by joshpearson on Sunday October 21, 2018 @07:47PM (#18271057)
Do you know of any sites that do it correctly?

I've created various pages that sorta unrenders content, but all of them break the browser's find.

Re:Problems with infinite scroll by minitech on Sunday October 21, 2018 @09:43PM (#18271550)
I don’t, sorry. If regular pagination is at all an option for you, that’s a safe and user-friendly choice.
Re:Problems with infinite scroll by thinkloop on Monday October 22, 2018 @09:43AM (#18274558)
This site does it: http://www.goodlist.co/

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.

Re:Problems with infinite scroll by minitech on Monday October 22, 2018 @10:01PM (#18280205)
> previous invisible items are represented by a single large div

… breaking the browser’s Find. Also, things jump around the page as you scroll down. That site does it decidedly wrong.