window.scrollTo may be ineffective at times

Issue #8405952 • Assigned to Rick J.

Details

Author
Jonathan S.
Created
Aug 5, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 3 people

Sign in to watch or report this issue.

Steps to reproduce

  1. Give focus to an input well beyond the viewport height
  2. Immediately call window.scrollTo(0,0)
  3. Note that the scrollTo method is ineffective

Reduction: https://jsfiddle.net/jonathansampson/c2vksnyk/
Presently impacts: http://fenixwebserver.com/

Upon visiting fenixwebserver.com, focus is given to an input near the bottom of the page. Immediately after focus is given, an attempt is made by jQuery to scroll back to a yOffset of 0. This attempt fails in Microsoft Edge.

Attachments

0 attachments

    Comments and activity

    • Have been looking to see if this kind of issue had been reported. I’m not a dev, but on a forum I use on freeforums.net if you click to read from the first new post in a thread, edge sometimes fails to load the page unless you remove the “&ScrollTo=X” from the end of the address and read from the top instead.

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Assigned To to “Rick J.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in