AskUserQuestion choices are clickable with mouse — accidental clicks hard to avoid
Status Fixed / completed
Maintainer reply None cached
Activity 4 comments · opened Jun 30, 2026 · closed Jul 3, 2026
Summary
When Claude presents multiple choices via the AskUserQuestion tool, the options are rendered as clickable buttons in the Claude Code UI. While keyboard navigation works well, the buttons are also fully clickable with the mouse, which leads to accidental selections when the user moves the cursor near the choice area.
Expected behavior
It should be possible to interact with choices via keyboard without risking accidental mouse clicks triggering an unintended selection.
Suggested solutions
- Add a configurable option to disable mouse click on
AskUserQuestionbuttons (keyboard-only mode) - Or introduce a short confirmation delay / hover intent before registering a mouse click
- Or add a visual affordance (e.g. requiring a double-click with the mouse)
Environment
- Platform: Linux
- Shell: zsh
- Claude Code CLI
Showing cached comments. Read the full discussion on GitHub ↗
3 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Having CLAUDE_CODE_DISABLE_MOUSE_CLICKS=1 in your env when running claude seems to disable this successfully (but leaves mouse scrolling functionality intact).
It seems to work for me, thanks @Seldaek !