Svelte: Cross browser <:Window> scrollX / scrollY support

Created on 15 Feb 2018  路  2Comments  路  Source: sveltejs/svelte

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.

internals

Most helpful comment

Released 1.56.1 with the fix, thank you!

All 2 comments

Based on feedback, only doing pageYOffset and pageXOffset.

Released 1.56.1 with the fix, thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mmjmanders picture mmjmanders  路  3Comments

plumpNation picture plumpNation  路  3Comments

robnagler picture robnagler  路  3Comments

ricardobeat picture ricardobeat  路  3Comments

st-schneider picture st-schneider  路  3Comments