orizens / ngx-infinite-scroll

Infinite Scroll Directive for Angular
https://www.npmjs.com/package/ngx-infinite-scroll
MIT License
1.23k stars 223 forks source link

scrollDown makes the scrollTop to 0 and calls scrollUp #442

Open skadoosh4u opened 1 week ago

skadoosh4u commented 1 week ago

Hello, im using angular 12 and ngx-infinite scroll version 13.0.0 as there is no 12.0.0,

i am calling an API on scrollDown and Up so once scrollDown is triggerd and in the waiting time if i go to the end of the scroll it sets scroll top 0 thereby calling scrollUP

i have another div at the end of the ls which is a loader which will appear while the API is running