Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numpad "+", "-" and "/" not detected in IE/Edge #67

Open
mauro1855 opened this issue Mar 2, 2017 · 1 comment
Open

Numpad "+", "-" and "/" not detected in IE/Edge #67

mauro1855 opened this issue Mar 2, 2017 · 1 comment

Comments

@mauro1855
Copy link

In IE /Edge, the "+", "-", "/" keys in the numpad are not detected even if you have a keybinding for these symbols. It only detects the "+", "-" and "/" not in the numpad.

This happens because the "key" property in the event is different in Chrome and IE.
In Chrome the key property is "+", "-" and "/", while in IE/Edge it returns "Add", "Subtract" and "Divide", respectively.

This difference in implementation was already handled for the "*", where IE/Edge return "Multiply".

Thanks,
Mauro

mauro1855 added a commit to mauro1855/iron-a11y-keys-behavior that referenced this issue Mar 2, 2017
@mauro1855
Copy link
Author

mauro1855 commented Mar 3, 2017

I noticed today the "Delete" button returns "delete" in Chrome, while in IE it always returns "Del". The fix for this is the same fix than the one for the original problem in this issue.
I'll update my pull request later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant