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

Consider $(window).scrollTop instead of $('body').scrollTop #39

Open
myfairsyer opened this issue Nov 16, 2017 · 0 comments
Open

Consider $(window).scrollTop instead of $('body').scrollTop #39

myfairsyer opened this issue Nov 16, 2017 · 0 comments

Comments

@myfairsyer
Copy link

For me $('body').scrollTop doesn't make my window scroll while $(window).scrollTop does.
Several sources claim $(window).scrollTop works accross all browsers, but I did not further investigate.

Chrome Version 61.0.3163.100 (Official Build) (64-bit), Windows

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

1 participant