Skip to content

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

@mivanyna

Description

@mivanyna

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

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugmonaco-editorverification-steps-neededSteps to verify are needed for verificationverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions