Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading... does not work in IE11 #27

Closed
prothomsoft opened this issue Dec 9, 2016 · 2 comments
Closed

Loading... does not work in IE11 #27

prothomsoft opened this issue Dec 9, 2016 · 2 comments

Comments

@prothomsoft
Copy link

Please note that loading does not work in IE11.

@prothomsoft
Copy link
Author

I found reason why it does not work. Fix is as follows:
let scrollY = window.scrollY || window.pageYOffset || document.documentElement.scrollTop;
if ((window.innerHeight + scrollY) >= (document.body.offsetHeight - 50)) {
this.loadMorePhotos();
}

@neptunian
Copy link
Owner

@prothomsoft i'll look into this, thanks!

neptunian added a commit that referenced this issue Feb 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants