SyntaxFix
Write A Post
Hire A Developer
Questions
if ((window.innerHeight + window.scrollY) >= document.body.offsetHeight) { //your code here }
I too searched it and even after checking all comments here and more, this is the solution to check if reached the bottom or not.