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

Firefox and IE dont calculate body.scrollTop correctly #4

Open
Duskfall opened this issue Nov 26, 2015 · 3 comments
Open

Firefox and IE dont calculate body.scrollTop correctly #4

Duskfall opened this issue Nov 26, 2015 · 3 comments

Comments

@Duskfall
Copy link

Though in codepen demo works, in my case the firefox 41.0.1 and IE 11 dont calculate the body scroll correctly returning 0 instead of 1000+
This doesn't happen in Chrome.
I fixed this for me changing the line to :

left = posX - rect.left - ripple.offsetWidth / 2 - window.pageXOffset;
top = posY - rect.top - ripple.offsetHeight / 2 - window.pageYOffset;
@Creativenauts
Copy link

You sure your not zoomed in?

@sztrzask
Copy link

sztrzask commented Feb 7, 2016

I can confirm this happening on FF.

@LukaszWatroba
Copy link
Owner

On OsX and Firefox 44.0.2 everything seems to be working fine even if I zoom in.

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

4 participants