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.
Based on feedback, only doing pageYOffset and pageXOffset.
Released 1.56.1 with the fix, thank you!
Most helpful comment
Released 1.56.1 with the fix, thank you!