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

Cross browser <:Window> scrollX / scrollY support #1175

Closed
arxpoetica opened this issue Feb 15, 2018 · 2 comments
Closed

Cross browser <:Window> scrollX / scrollY support #1175

arxpoetica opened this issue Feb 15, 2018 · 2 comments

Comments

@arxpoetica
Copy link
Member

See: https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollY#Notes

I think it's right to leave the names as scrollX and scrollY in Svelte; but for backwards compatibility pageYOffset is more supported. We'll do both here.

@arxpoetica
Copy link
Member Author

Based on feedback, only doing pageYOffset and pageXOffset.

Rich-Harris added a commit that referenced this issue Feb 25, 2018
Rich-Harris added a commit that referenced this issue Feb 25, 2018
Using pageYOffset & pageXOffset
@Rich-Harris
Copy link
Member

Released 1.56.1 with the fix, thank you!

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