Surfaces dom entries are created for every row!
Closed this issue · 1 comments
JeremyColton commented
-
Is there a way to set the max number of 'surface' divs in the viewport? Eg +1 top/bottom just outside the viewport. Currently, I see 6 additional non-viewable 'surface' divs created which are not needed.
-
In your youtube video, how are you adding rows to the Scroller object - via window.scroller.prependItems() ?
Many thanks
diervo commented
Sorry for the loong delay in the response, this project its been in stand by mode for a while.
- The surfaces are calculated based on the available viewport area.
- Yes in the examples you can find the exact code.