kamilkp / ng2-vs-for

Virtual Scroll repeater for Angular2
MIT License
42 stars 25 forks source link

virtual scroll does not work if scrollable area is the document itself #9

Open lucienimmink opened 8 years ago

lucienimmink commented 8 years ago

The scroll binding does not work, calculation visible items fails. I am working on getting it to work properly when scrolling the document. The scrollbar itself jagges a lot when scrolling, though the heights of the individual items is calculated properly. I am still investigating that issue.

lucienimmink commented 8 years ago

The jagging is out of scope of this plugin; fixed that by setting the overflow:hidden trick on the before and after elements. Issue arose cause all scrolled elements has a float:left property (bootstrap).