Repository navigation
Description
Summary
On bb's mobile UI in Chrome on Android, typing / opens the slash-command suggestion menu with only one suggestion visible above the software keyboard. The remaining commands are effectively inaccessible, so the command picker should use a mobile-specific presentation that provides enough visible, scrollable space.
This is a user-reported visual reproduction; I could not independently run a faithful Android Chrome reproduction.
Versions and environment
- bb 0.42.1, the latest desktop release at the time of investigation
- Accessed through Chrome on Android
- Exact Android and Chrome versions were not collected
- Provider-independent composer UI behavior
Steps to reproduce
- Open bb in Chrome on an Android phone.
- Open a thread and focus the message composer so the software keyboard is visible.
- Enter
/in the composer. - Observe the command suggestion menu above the software keyboard.
Expected vs actual
Expected: The mobile command picker presents multiple slash-command suggestions in a clearly visible, scrollable surface that remains usable while the software keyboard is open.
Actual: The command picker opens between the composer and software keyboard with space for only one suggestion, making command discovery and selection effectively unusable.
Evidence
The current UI renders the typeahead menu as an absolutely positioned element immediately above or below the composer:
bb/apps/app/src/components/promptbox/PromptBoxInternal.tsx
Lines 3073 to 3094 in 6cdb4ba
| {showTypeaheadMenu ? ( | |
| <div | |
| ref={typeaheadMenuRef} | |
| data-promptbox-typeahead-menu="" | |
| className={cn( | |
| "absolute -left-px -right-px z-20", | |
| mentionMenuPlacement === "top" | |
| ? "bottom-full mb-2" | |
| : "top-full mt-2", | |
| )} | |
| > | |
| <MentionMenu | |
| state={typeaheadMenuState} | |
| selectedIndex={selectedIndex} | |
| onApply={applyTrigger} | |
| onDismiss={isPointerCoarse ? dismissActiveTrigger : undefined} | |
| onCommandLoadMore={ | |
| canLoadMoreCommands ? loadMoreCommands : undefined | |
| } | |
| /> | |
| </div> | |
| ) : null} |
The suggestion list itself uses a fixed max-h-48 scroll area without a mobile-specific presentation:
bb/apps/app/src/components/promptbox/mentions/MentionMenu.tsx
Lines 547 to 592 in 6cdb4ba
| return ( | |
| <div className="overflow-hidden rounded-md border border-border bg-popover text-popover-foreground"> | |
| <div className="max-h-48 overflow-y-auto" onScroll={handleScroll}> | |
| {innerState.kind === "hint" ? ( | |
| <MenuStatusRow | |
| onDismiss={onDismiss} | |
| className="text-muted-foreground" | |
| > | |
| Type to search mentions | |
| </MenuStatusRow> | |
| ) : innerState.kind === "loading" ? ( | |
| <MenuStatusRow | |
| onDismiss={onDismiss} | |
| className="text-muted-foreground" | |
| > | |
| <Icon name="Spinner" className="size-3.5 animate-spin" /> | |
| <span> | |
| {state.trigger === "command" | |
| ? "Searching commands…" | |
| : "Searching mentions…"} | |
| </span> | |
| </MenuStatusRow> | |
| ) : innerState.kind === "error" ? ( | |
| <MenuStatusRow onDismiss={onDismiss} className="text-destructive"> | |
| {state.trigger === "command" | |
| ? "Failed to load commands" | |
| : "Failed to load suggestions"} | |
| </MenuStatusRow> | |
| ) : state.trigger === "command" ? ( | |
| <CommandResults | |
| suggestions={commandSuggestions(state)} | |
| selectedIndex={selectedIndex} | |
| onApply={onApply} | |
| itemRefs={itemRefs} | |
| onDismiss={onDismiss} | |
| /> | |
| ) : ( | |
| <MentionResults | |
| results={mentionResults(state)} | |
| selectedIndex={selectedIndex} | |
| onApply={onApply} | |
| itemRefs={itemRefs} | |
| onDismiss={onDismiss} | |
| /> | |
| )} | |
| </div> |
This layout is consistent with the reported failure when the Android software keyboard reduces the visual viewport. That is a source-based hypothesis, not an independently verified root cause.
No public-safe investigation thread link is available.
Suggested fix
On compact/coarse-pointer layouts, present slash-command suggestions in the shared responsive drawer (or an equivalent keyboard-aware mobile surface) rather than the desktop-style popover anchored to the composer. The surface should expose several results, remain scrollable, and preserve composer input while the software keyboard is open.
What you ruled out
- No matching open or closed issue was found for mobile slash-command/typeahead usability.
- The behavior is not provider-specific; it occurs in the shared composer command picker.
- The relevant layout remains present on
mainat6cdb4ba6125514b7660332cf311037bc09c82b0e. - Independent Android Chrome reproduction was not available, so this report remains unverified beyond the reporter's reproduction and source inspection.
Suggested priority and effort
High usability impact for mobile users: slash-command discovery is effectively blocked while the keyboard is open. No clear workaround beyond already knowing and typing the full command; effort is likely Medium because the menu needs a responsive presentation and mobile viewport coverage.
AGENT GENERATED
Activity
bb-slop-cop commentedon Sep 6, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotClassification: Bug · Priority: Medium · Effort: Medium · Labels:
ui,mobile,partial-reproReport: https://get-bb.github.io/reports/issues/3179.html
partial-repro