AskUserQuestion widget hides Claude's preceding text message in VS Code extension

Status Open
Reported on v2.1.218
Maintainer reply None cached
Activity 2 comments · opened Jul 23, 2026

Title

AskUserQuestion widget hides Claude's preceding text message in VS Code extension

Environment

  • Claude Code VS Code extension: anthropic.claude-code@2.1.218
  • Claude Code CLI: 2.1.147
  • OS: macOS (Darwin 25.5.0)

Description

When Claude outputs an explanatory text message and then calls the AskUserQuestion tool right after, the text message written immediately before the question gets hidden/collapsed in the VS Code chat panel once the question widget renders. This text often contains the context, tradeoffs, or reasoning the user needs in order to answer the question well — losing it at exactly the moment it's needed undermines the point of asking.

Steps to Reproduce

  1. In the VS Code extension, prompt Claude with a task where it will naturally explain some context/tradeoffs in prose, then ask a clarifying question via AskUserQuestion.
  2. Observe that once the question widget renders, the preceding explanatory text is no longer visible in the panel.

Expected Behavior

The text Claude wrote immediately before an AskUserQuestion call should remain visible alongside (or clearly accessible near) the question widget, since it typically contains the context needed to answer.

Scrolling works, but sometime the text used by the AskUserQuestion is so large that there is no space on the window to look at text at all.

Actual Behavior

The preceding text message is hidden/collapsed when the question widget appears.

Impact

Users are forced to answer questions without the context Claude just provided, or must dig/scroll to try to recover it, which defeats the purpose of explaining before asking.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗