Scroll Infinite with DOM recycle

Viewed 1919

I'm getting a little frustated because of implementing a nice scroll infinite browser performance after append hundreds/thousands of items. How could i do make DOM recycling without absolute position elements?

https://developers.google.com/web/updates/2016/07/infinite-scroller

Trying to not reflow (or repaint) a non-visible items without a user scroll loss.

Furthermore, save scrolled position when comebacks from a history.back() (idea using pushState)

Is it possible?

Thanks in advance

1 Answers
Related