0

I'm using th following code to detect the end of a page is reached with javascript:

window.onscroll = function(ev) {
    if (((document.documentElement && document.documentElement.scrollHeight) || document.body.scrollHeight)) {
        alert("Bottom of page");
    }
};

It works in chrome for desktop but not in the android webview

  • Tried these suggestions?: https://stackoverflow.com/questions/3898130/check-if-a-user-has-scrolled-to-the-bottom – Asons Mar 16 '18 at 17:38
  • Yes, the ones with no jQuery (I'm not using it) didn't work –  Mar 16 '18 at 17:56

0 Answers0