pklauzinski / jscroll

An infinite scrolling plugin for jQuery.
http://jscroll.com/
1.11k stars 561 forks source link

_load not triggered when page is zoomed in or out at certain levels #165

Open Peter-JanGootzen opened 5 years ago

Peter-JanGootzen commented 5 years ago

When the page is zoomed in or out at certain levels such as:

The _observe calculation doesn't detect when the window has been scrolled all the way down. This issue appears both in Firefox and Chrome.

developerxnz commented 5 years ago

Any updates on this? We are experiencing similar issues.

Peter-JanGootzen commented 5 years ago

Any updates on this? We are experiencing similar issues.

No we have not been able to find time to further investigate this issue. If we find a fix, we will definitely create a PR.

developerxnz commented 5 years ago

I have located the issue in the _setBindings function. When users zoom pages that contain the scroll, the dimension check doesn’t meet the criteria and so the _observe function isn’t called.

If(scrollingHeight <= windowHeight)...