Edge fails to auto-select on focus

Confirmed Issue #8229660 • Assigned to Bogdan B.

Details

Author
Jonathan S.
Created
Jul 20, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
14.14390
Reports
Reported by 1 person

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 => {
    event.target.select(); // Fails to select contents
});

https://jsfiddle.net/jonathansampson/xe9x9s7b/
Reported: http://stackoverflow.com/q/38487059/54680

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

      Changed Assigned To to “Bogdan B.”

      Changed Status to “Confirmed”

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

    Sign in