Incorrect keydownevent.key values when numpad's special keys are used

Fixed, not yet flighted Issue #15416945

Details

Created
Jan 11, 2018
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Found in build #
16.16299
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

You can use this example to reproduce the issue
or just create an input with keydown handler

<input type="text" onkeydown="onKeyDown(event)"> 

function onKeyDown(e) {
  console.log(e.key);
}

Steps to reproduce:

  1. Open the browser console, focus input
  2. Press on numpad minus key

Expected:
e.key === "-"

Actual:
e.key === “Subtract”

According MDN this is an obsolete API

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Assigned To to “wptsixtri”

      Changed Assigned To to “Grisha L.”

      Changed Status to “Not reproducible”

      Changed Assigned To to “Grisha L.”

      Changed Status from “Not reproducible”

      Changed Assigned To from “Grisha L.” to “Anupam S.”

      Changed Status to “Confirmed”

      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 and will be available in an upcoming insider build.

      Best Wishes,
      The MS Edge Team

    • Microsoft Edge Team

      Changed Status from “Fixed” to “Fixed, not yet flighted”

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

    Sign in