Select doesn't work in input control focus handler

Confirmed Issue #8229660 • Assigned to Bogdan B.


Jonathan S.
Jul 20, 2016
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 8 people

Sign in to watch or report this issue.

Steps to reproduce

  1. Create an input element with default value
  2. Add an event listener that calls the inputs select method on focus
input.addEventListener( "focus", event => {; // Fails to select contents


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

      Changed Assigned To to “Bogdan B.”

      Changed Status to “Confirmed”

    • Considering this was created over a year ago, could we get a progress update? While perhaps few people are clicking the Me Too button, it’s likely this is a fairly common issue developers are coming across, although, admittedly, not the highest priority perhaps.

    • Microsoft Edge Team

      Changed Title from “Edge fails to auto-select on focus” to “Select doesn't work in input control focus handler”

    • Still happening in:
      Microsoft Edge 42.17134.1.0
      Microsoft EdgeHTML 17.17134

    • Confirming Tosh M.’s remark about this still being an issue in Edge 17.1734.

      Also, the remark “Reported by 7 people” for this issue, at right, may misinform. The Stack Overflow question with a workaround has 2000+ views.

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

    Sign in