AskUserQuestion: window-focusing mouse click is captured as an option selection

Status Closed — duplicate
Maintainer reply None cached
Activity 3 comments · opened Aug 6, 2026 · closed Aug 15, 2026

When an AskUserQuestion prompt is on screen and the Claude Code window does not have focus, the mouse click that gives the window focus can land on an option and is immediately treated as the user's answer — selecting and submitting an option the user never chose.

Expected: the click that transfers focus to the window should be swallowed (standard focus-gain click suppression), or option selection should require a subsequent deliberate click/confirm once the window already has focus.

Actual: the focus-gaining click selects whichever option it happens to land on, and the agent proceeds on a wrong answer. The user has to notice, interrupt, and correct it — in this session it silently picked a non-recommended option in a three-way design decision.

Environment: Windows 11 Pro (10.0.26200), Claude Code with Fable 5.

Filed by the agent at the user's request after it happened live.

View original on GitHub ↗

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