Skip to content

Change Method Signature: parameter Type field doesn't visibly render typed text (contenteditable text node escapes shadow DOM slot) #4417

Description

@benanavd

Environment

  • OS: Windows 10/11 x64
  • VS Code version: not captured
  • Java extension version: 1.55.2026052308 (redhat.java)
  • JDK: not captured

Steps to reproduce

  1. Trigger Change Method Signature on any method.
  2. Click the Type cell of a parameter and type a new type.

Result

The typed text does not appear in the Type field - the cell looks blank or unchanged.

Inspecting the DOM shows the text is captured, but as a direct text node on the <vscode-data-grid-cell contenteditable="true"> host, sitting outside the shadow root, which contains only:

<template shadowrootmode="open"><slot></slot></template>

The text is therefore present in the DOM but not visibly rendered. Example captured DOM:

<vscode-data-grid-cell ... contenteditable="true">.</template>Stringdjdajljdlrfajedfla</vscode-data-grid-cell>

where String is the original type and the rest is typed input.

Expected

Typed text should be visible in the Type cell while editing.

Note

vscode-data-grid-cell is from the deprecated Webview UI Toolkit; the contenteditable text node is not being placed into a slotted/rendered position.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions