[BUG] "Other" free-text input in AskUserQuestion dialog does not submit on Enter (VS Code extension)

Open 💬 0 comments Opened Jul 9, 2026 by James9688

Description

In the VS Code Claude Code extension, when an AskUserQuestion dialog is answered via the "Other" free-text option, pressing Enter inside the text input does not submit the answer. The only way to submit is to click the "Submit answers" button with the mouse.

Steps to Reproduce

  1. Trigger an AskUserQuestion dialog in the VS Code extension
  2. Select "Other" and type a custom answer in the text box
  3. Press Enter

Expected Behavior

Pressing Enter while focused in the "Other" text input should submit the answer, consistent with how Enter works for single-select/multi-select options (arrow keys + Enter, or number key + Enter).

Actual Behavior

Enter does nothing (or is consumed by the text field itself, e.g. as a newline). The dialog stays open and the user must move to the mouse and click "Submit answers" to proceed.

Environment

  • Claude Code VS Code extension
  • macOS

View original on GitHub ↗