jscroll icon indicating copy to clipboard operation
jscroll copied to clipboard

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

Open Peter-JanGootzen opened this issue 5 years ago • 3 comments

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

  • 170%
  • 210%
  • 110%
  • 120%
  • 90%
  • 80%

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

Peter-JanGootzen avatar Jun 24 '19 11:06 Peter-JanGootzen

Any updates on this? We are experiencing similar issues.

developerxnz avatar Jul 18 '19 03:07 developerxnz

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.

Peter-JanGootzen avatar Jul 19 '19 20:07 Peter-JanGootzen

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)...

developerxnz avatar Jul 19 '19 22:07 developerxnz