When onScroll is triggered, new items are pushed in the items list.
I need .outer-div class to have {overflow-y: auto}. When I set overflow-y to auto, vertical scrollbar exists, but the onScroll() method isn't called. When I remove overflow-y: auto, it is set to default (visible), it works. But this is not what I need.
Can you tell me what am I doing wrong and why this doesn't work?
Hi, I am using ngx-infinite-scroll with Angular 6. I can't get window scroll to work. My issue is this:
When onScroll is triggered, new items are pushed in the items list. I need .outer-div class to have {overflow-y: auto}. When I set overflow-y to auto, vertical scrollbar exists, but the onScroll() method isn't called. When I remove overflow-y: auto, it is set to default (visible), it works. But this is not what I need. Can you tell me what am I doing wrong and why this doesn't work?