ScrollTo method doesn't work in Edge
The official report : https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/15534521/
The issue has been assigned to someone.
Following the comments the workaround is
"
.scrollTop = 0
instead of .scrollTo(0,0)
In case you want to scroll somewhere else than top i haven’t found a workaround "