Skip to content

Webview not handing CustomEvent #78915

@brunoNetId

Description

@brunoNetId
  • VSCode Version: 1.37.0
  • OS Version: macOS 10.14.5

Quick summary:
I'm trying to work on an extension to design diagrams to generate code. The libraries I'm using are triggering CustomEvent events on mouse events, but VSCode seems to be willing to treat them as MouseEvent, and hence breaking the execution.

Steps to Reproduce:

  1. Find included a project to reproduce the problem:
    (based on the vs-extension sample 'cat-coding')
    [reproducible.tar.gz] .
    (https://github.com/microsoft/vscode/files/3490468/reproducible.tar.gz)
  2. Open the project in VSCode
  3. Start debugging
  4. Launch the command "Cat Coding: start cat coding session"
    command
  5. Click on the button displayed in the Webview:
    click-button
  6. The following error should be thrown and displayed in the console:
    console-error

Thanks in advance.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions