-
Notifications
You must be signed in to change notification settings - Fork 29k
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
[Bug] The KeyboardEvent.getModifierState function can be undefined. #198308
Comments
@samirzubi-db What browser do you use? According to https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/getModifierState#browser_compatibility this should be supported since a couple of years everywhere |
We detected that one customer had this issue. I will see if I can find what browser produced it and update you on it. I could not reproduce it on any of the browsers I have Mac, Windows (Chrome, Firefox, Edge). |
Closing since we could not reproduce. |
@alexdima I have a reproduction for this issue in the monaco-editor |
Send your details for help
…On Mon, Jan 29, 2024, 5:50 PM justin-mellor ***@***.***> wrote:
@alexdima <https://github.com/alexdima> I have a reproduction for this
issue in the monaco-editor
See microsoft/monaco-editor#4325
<microsoft/monaco-editor#4325>
It occurs in Edge and Chrome.
—
Reply to this email directly, view it on GitHub
<#198308 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BFT2KGQEVPLLFYUTXBGOSEDYQ7HPHAVCNFSM6AAAAAA7MRHQR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJVGEZTEOBVGQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
This can be reproduced easily |
We have been encountering a type error
TypeError: t.getModifierState is not a function
Steps to Reproduce:
Do not have a way to reproduce the issue but my hunch lies with a autofill event that does not have the
getModifierState
gets triggered. Noticed inmonaco-editor
library but the file associated with the issue is in this library.The text was updated successfully, but these errors were encountered: