orizens / ngx-infinite-scroll

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

Infinit Upscrolling not working in Firefox #376

Closed horenso closed 3 months ago

horenso commented 3 years ago

Hello :) I love this project so far, but I am having some issues with it in Firefox.

Infinite scrolling-up doesn't bounce back on Firefox 84, even when I open the demo in Chrome and Firefox, scrolling-up doesn't work in Firefox but works fine in Chrome.

Here is it in our project: https://www.dropbox.com/s/4okfsbanfj2xlfg/output.gif?dl=0

Here is my configuration:

<div infiniteScroll
   [infiniteScrollUpDistance]="2"
   [infiniteScrollThrottle]="50"
   [alwaysCallback]=false
   [scrollWindow]=false
   (scrolledUp)="onScroll()">
...
</div>

I didn't create a live demo, because it even happens in the demo. This is really annoying since my project needs no to be compatible with Firefox.

Your Environment

BarkhatovN commented 3 years ago

It could probably clarify something to solve issue

https://github.com/orizens/ngx-infinite-scroll/issues/373#issuecomment-770208622