moveto always scrolls the center of element into view instead of the specified offset

Fixed Issue #7197902


Apr 13, 2016
This issue is public.
Found in build #
Fixed in build #
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

The moveto command always scrolls the center point in view. Try replacing the 1400,1400 with 0,0 in the repro sample and it will also scroll the center.

In Chrome, it seems to ignore the offset and always move to 0,0.

            Driver.Manage().Window.Size = new Size(500, 500);
            Driver.ExecuteScript(“document.body.insertAdjacentHTML('beforeend’, '<div style="background-color:red; width: 1500; height: 1500” > Foobar </div>’)");
            Actions action = new Actions(Driver);
            action.MoveToElement(Driver.FindElementByTagName(“div”), 1400, 1400);


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Navin A.”

      Changed Status to “Confirmed”

      Changed Steps to Reproduce

      Changed Title from “moveto always goes to the element center instead of the specified offset” to “moveto always scrolls the center of element into view instead of the specified offset”

      Changed Assigned To from “Navin A.” to “Ben B.”

      Changed Status from “Confirmed” to “Fixed”

    • Hello,

      Thank you for providing this information about the issue. We are pleased to report this feature is fixed in Edge 14393 and is available in our latest public stable build.

      Best Wishes,
      The MS Edge Team

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

    Sign in