SetSelectionRange problem

Fixed Issue #7995039


Frank M.
Jun 25, 2016
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Fixed in build #
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

The attached file creates an html page with two input fields, created with javascript.

Each field has an ‘onfocus’ event which uses setSelectionRange to highlight a portion of the text.

It works if you gain focus with the mouse, but if you ‘tab’ to the field, the entire text is selected.

It works correctly with Internet Explorer.


1 attachment

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Brad E.”

    Changed Assigned To to “Amit J.”

    Changed Status to “Confirmed”

    Changed Assigned To to “Amit J.”

    Changed Assigned To from “Amit J.” to “Grisha L.”

    Changed Assigned To from “Grisha L.” to “Gokul R.”

    Changed Assigned To from “Gokul R.” to “Anupam S.”

    Changed Status from “Confirmed” to “In code review”

    Changed Status from “In code review” to “Fixed”

  • Hello,

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

    Best Wishes,
    The MS Edge Team

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

Sign in