VSCode extension: question box steals keystrokes from another chat panel and submits an unintended answer

Status Open
Maintainer reply None cached
Activity 0 comments · opened Aug 17, 2026

Environment: Claude Code 1.133.0, VSCode native extension (VSCode commit a5b5009), Windows 11 Pro 10.0.26200, multiple Claude chat panels open concurrently.

What happened: While an AskUserQuestion choice box was pending in chat A, I was typing a message into chat B. My keystrokes were captured by chat A's question box: it submitted an accidental option selection plus a fragment of my typing as free-text ("ome in ?"). I never had chat A focused. The agent in chat A then proceeded on an answer I did not intend to give.

Why this is dangerous: a question box can be gating a consequential decision (naming, config, destructive actions). Cross-panel keystroke capture converts unrelated typing into consent. In my case the accidental pick happened to be acceptable — but only by luck.

Recurrence: this same bug existed a few months ago, disappeared for a while, and returned as of 2026-08-16.

Expected: a pending question box should only accept input when its panel/webview has focus; keystrokes belonging to another chat's input should never reach it.

Filed on the user's behalf from an affected session (the interruption and garbled submission are visible in that session's transcript).

🤖 Generated with Claude Code

View original on GitHub ↗