claude-code - 💡(How to fix) Fix [BUG] click registered in UI but empty payload reached the assistant [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#56877Fetched 2026-05-07 03:43:04
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×1

Error Message

Error Messages/Logs

Code Example

It looks like the user canceled their question, so there's nothing for me to respond to.
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When the assistant invokes the AskUserQuestion tool to present a multiple-choice card, clicking an option in the UI sometimes results in the assistant receiving an empty answer payload, as if the user had cancelled. The user must then re-state the selection in plain chat.

What Should Happen?

The assistant should receive the selected option label and continue the workflow with that selection.

Error Messages/Logs

It looks like the user canceled their question, so there's nothing for me to respond to.

Steps to Reproduce

  1. Start a new Claude Code / Copilot session.
  2. Issue a request that causes the assistant to ask a clarifying question via the AskUserQuestion tool — for example: "Summarise my most recent meeting." When no meeting ended in the last 2 hours, the assistant presents an AskUserQuestion card listing 2–4 candidate meetings.
  3. Click one of the option buttons on the card (do not type a custom answer).
  4. Observe the assistant's next response.

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

Claude Code (Copilot Cowork session)

Platform

Other

Operating System

WSL Linux sandbox

Terminal/Shell

Other

Additional Information

Environment:

Product: Claude Code (Copilot Cowork session) Model: Claude Opus 4.6 Platform: Web/desktop (please confirm your client)

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] click registered in UI but empty payload reached the assistant [1 comments, 2 participants]