rintoj / ngx-virtual-scroller

Virtual Scroll displays a virtual, "infinite" list.

Home Page:https://rintoj.github.io/ngx-virtual-scroller

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scroll position changes to the next row every time not yet visible row is filled

TheoMuffin opened this issue · comments

The best way to explain this is by example (see stackblitz below):

When the scroll position is set so that roughly half or less of the third visible row is exposed, then the view will automatically show the next row every time a new (not yet visible) row is filled and a new row is made. May need to scroll a bit further down for this to happen. As far as I can tell, this is not a problem using version 1.x.x but affects versions 2.x.x and up to current 4.0.3.

Here's a minimal example to reproduce this issue https://stackblitz.com/edit/angular-ibhfbn?file=src/app/app.component.ts. To reproduce, open in new window so that there's space for multiple columns.