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

[Bug] Uncaught TypeError: e.getModifierState is not a function when using AutoFill in Chrome #205214

Closed
mivanyna opened this issue Feb 14, 2024 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug monaco-editor verification-steps-needed Steps to verify are needed for verification verified Verification succeeded
Milestone

Comments

@mivanyna
Copy link

mivanyna commented Feb 14, 2024

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version:
  • OS Version:

Steps to Reproduce:

  1. Have an input on the same page as the editor
  2. Type something into the input and reload the page
  3. Focus input and select the autofilled option
    image
  4. The error appears e.getModifierState is not a function

Here you can check it

Error appears in the constructor of StandardKeyboardEvent class as Event is not a KeyboardEvent and doesn't have that method:
image
image
image

The same issue is reported for the Monaco editor but it happens in the vs-code microsoft/monaco-editor#4325

@mivanyna
Copy link
Author

mivanyna commented Mar 4, 2024

Hi @alexdima , do you have any updates on this?

@BusinessDuck
Copy link
Contributor

I have same problem. Also fix in in new MR

@alexdima alexdima added this to the March 2024 milestone Mar 14, 2024
@alexdima alexdima added bug Issue identified by VS Code Team member as probable bug monaco-editor labels Mar 14, 2024
@mivanyna
Copy link
Author

Hi there, any updates on when this will be released?

@alexr00
Copy link
Member

alexr00 commented Mar 27, 2024

@alexdima I'm having trouble verifying this. For step 3, there is no autofilled value in the input after I reload.

@alexr00 alexr00 added the verification-steps-needed Steps to verify are needed for verification label Mar 27, 2024
@rzhao271 rzhao271 added the verified Verification succeeded label Mar 27, 2024
@microsoft microsoft locked and limited conversation to collaborators Jun 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug monaco-editor verification-steps-needed Steps to verify are needed for verification verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

7 participants