You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To clarify a bit more, I'm using svelte-spa-router which internally uses window.scrollY to store the position of a previous page and when the user presses the back button it scrolls to that position. window.scrollY is 0 in this case.
I tried to google for a solution but could not find any hints as to why this might happen. One guy said that overflow: auto is the culprit, I tried to work around that but again, both browsers' window.scrollY reported 0.
Check that this is really a bug
Reproduction link
n/a
Bug description
Hi,
No matter what I do, I can't seem to get window.scrollY to work, nor the window.scrollTo works.
For example:
Always logs 0.
Any ideas as to why is this happening?
Expected Behavior
The actual value of where the page is scrolled.
Actual Behavior
0
Konsta UI version
^4.0.1
Platform/Target and Browser Versions
Chromium
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: