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

Uncaught TypeError: t.getModifierState is not a function #608

Open
swetapatnaik opened this issue Apr 16, 2024 · 1 comment
Open

Uncaught TypeError: t.getModifierState is not a function #608

swetapatnaik opened this issue Apr 16, 2024 · 1 comment

Comments

@swetapatnaik
Copy link

Describe the bug

Uncaught TypeError: e.getModifierState is not a function when using AutoFill in Chrome or Edge

To Reproduce
Steps to reproduce the behavior:

Using Chrome or Edge
Enter some text in the text box "Use AutoFill to populate this textbox"
Click Reload to populate your auto fill buffer in the browser
Now click inside the text box "Use AutoFill to populate this textbox"
Choose your text from the "Saved data" dropdown

In the console following error is thrown.
Uncaught TypeError: e.getModifierState is not a function
at new StandardKeyboardEvent (keyboardEvent.ts:111:24)
at HTMLBodyElement. (dom.ts:178:18)

Or, please add a minimal code snippet to reproduce the issue, for example in codesandbox.

Expected behavior
No error to be thrown

Screenshots
If applicable, add screenshots to help to explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS] Windows
  • Browser [e.g. chrome, safari] Chrome, Edge
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@ryuujo1573
Copy link

This is fixed per microsoft/monaco-editor#4325.

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

2 participants