Skip to content

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

@benanavd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions