3 ms·
Ask HN: Does Facebook remove DOM nodes that are out of sight?
It seems like Facebook removes DOM nodes (posts from the newsfeed) that are no longer in your viewport (eg if you scrolled past them).
Check/reproduce:
* Scroll way down on your newsfeed
* Look at the post you are seeing
* Pick a fairly unique word
* CMD/CTRL + F and slowly type that word
Here is what happens:
=> The browser jumps to the top of the page
=> The post you just viewed is no longer in your viewport and gets removed
=> Browser search no longer can find the text you are searching for
I use the page search functionality fairly regularly so I guess this is a recent change?
I wonder how to avoid this UX regression and still get to good scrolling performance on potentially infinite lists.