We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
keyCode
KeyboardEvent
Describe the bug Right now KeyboardEvent does not allow to set a keyCode.
To Reproduce
const e = new KeyboardEvent('keydown', { keyCode: 40 }); console.log(e.keyCode); // undefined, expected 40
Expected behavior I would expect keyCode to be propagated from the event init object to the event itself.
The change is pretty trivial and I am happy to submit a PR if required
The text was updated successfully, but these errors were encountered:
fix: [#1043] Adds deprecated keyCode property to KeyboardEvent
01ca3ca
Merge pull request #1301 from capricorn86/1043-not-being-able-to-set-…
4970c69
…a-keycode-for-a-keyboardevent fix: [#1043] Adds deprecated keyCode property to KeyboardEvent
capricorn86
Successfully merging a pull request may close this issue.
Describe the bug
Right now
KeyboardEvent
does not allow to set akeyCode
.To Reproduce
Expected behavior
I would expect
keyCode
to be propagated from the event init object to the event itself.The change is pretty trivial and I am happy to submit a PR if required
The text was updated successfully, but these errors were encountered: