Skip to content

AskUserQuestion: Enter does not submit a keyboard-shortcut selection #4137

Closed

Description

@fgrehm

Summary

When an agent invokes the AskUserQuestion tool, selecting an answer with its numbered keyboard shortcut and then pressing Enter does not submit the answer. Clicking the option first and then pressing Enter works, as does clicking the Submit answer button.

This is something I uncovered while doing my own hooman QA of #3719 (not actual AskUserQuestion interaction but the code there was based off the AUQ tool)

Versions and environment

  • bb 0.43.4
  • Browser/OS: Brave/Omarchy

Steps to reproduce

  1. In a BB thread, ask the agent to invoke AskUserQuestion with a multiple-choice question.
  2. In the AskUserQuestion interaction, press a number shortcut to select an answer.
  3. Press Enter.

Expected vs actual

Expected: Enter submits the currently selected answer.

Actual: Enter does not submit after selecting with the number shortcut. Clicking the option first and then pressing Enter works. Clicking the Submit answer button also works.

Evidence

Can record a gif if necessary, just LMK

What you ruled out

  • The AskUserQuestion tool itself is available and can be invoked.
  • Clicking the option before pressing Enter makes submission work.
  • Clicking the Submit answer button works.

Suggested priority and effort (optional)

No response

Checks

  • I reproduced this on the latest release or on main, or I say above that I could not.
  • I searched open and closed issues for the same problem.
  • If an agent wrote this, the body ends with > AGENT GENERATED and links the thread or report.

AGENT ASSISTED

Activity

  1. added theissue type on Sep 23, 2026
  2. added
    ui
    ask-user-question
    confirmed-repro
    on Sep 23, 2026
  3. bb-slop-cop commented on Sep 23, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Classification: Bug · Priority: Medium · Effort: Low. Applied ui, ask-user-question, and confirmed-repro; no existing classification values were replaced.

    Reproduction report: REPRODUCED — high root-cause confidence. Number shortcuts update selection without moving focus, and the form lacks an Enter handler for option answers. The regression failed in two clean checkouts of trusted main; Chromium confirmed the behavior in an isolated component harness. The reported click-option/Enter contrast was not reproduced on current main.

    Fix: PR #4139, ready and unmerged. Two files, 91 changed text lines. The regression now passes; all 13 question-form tests, 37 plugin tests, relevant typechecks, and git diff --check pass. Native browser 2 then Enter submits with the fix. Full provider and Brave/Omarchy verification remain outside this report.

    AGENT GENERATED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ask-user-questionconfirmed-reproui

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions