$(document).scrollTop() always returns 0

For some reason, removing ‘height: 100%’ from my html and body tags fixed this issue.

Leave a Comment