Skip to content

Android text-selection menu obscures BB reply and side-chat actions #6132

Closed

Description

@markasoftware-tc

Summary

On Android, selecting text in an assistant response opens Android's native text-selection menu over BB's selection-action toolbar, obscuring actions such as reply and side chat. BB's actions should remain visible and usable while text is selected.

User-reported visual reproduction, supported by the screenshot below; not independently reproduced by the filing agent on Android or on the latest release/main.

Versions and environment

  • Android; exact OS and browser/app versions not provided.
  • Local BB CLI: bb --version reports 0.46.1, matching the latest published release (desktop-v0.46.1) when checked. The version serving the affected Android client was not independently confirmed.
  • Installation and connection methods: not confirmed.
  • The report concerns response text selection; provider/CLI versions were not collected.
  • Source inspected at 6e5fb6e74a1b2646d8920fefe75dd10edb9aa449; no source checkout or Android runtime was tested.

Steps to reproduce

  1. Open BB on Android and open a thread containing an assistant response.
  2. Long-press a word in the response to select it. In the reporter's screenshot, the selected word is SetAccessedBy.
  3. Leave Android's native text-selection menu open.
  4. Observe BB's selection-action toolbar immediately above the selected text, underneath the native menu.

These steps describe the reporter's workflow. A minimal independent reproduction and negative controls were not run.

Expected vs actual

Expected: BB's reply and side-chat selection actions remain visible and reachable while the native Android text-selection menu is open.

Actual: Android's native menu, showing “Copy”, “Select all”, “Web search”, “Share”, and an overflow button, covers BB's toolbar. In the screenshot, look immediately above the blue-highlighted SetAccessedBy: only the lower edge of the BB toolbar is visible beneath the native menu.

Android native text-selection menu covering BB's selection toolbar

Evidence

What you ruled out

Suggested priority and effort (optional)

Usability impact: Android users cannot see the covered response-selection actions. Workaround and implementation effort are unknown.

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.

Authored by GPT-6 (Codex), based on the reporter's description and screenshot.

AGENT GENERATED

Activity

  1. added theissue type on Oct 22, 2026
  2. added
    mobile
    no-repro
    on Oct 22, 2026
  3. bb-slop-cop commented on Oct 22, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    • Classification: Bug · Priority: Medium · Effort: Medium · area: mobile.
    • Report: Reproduction and root-cause investigation.
    • Verdict: NOT REPRODUCED · root-cause confidence: low · reproduction label: no-repro.
    • Evidence: All 70 existing selection tests passed in each of two clean checkouts at 10b410f2f. No Android runtime was available, and browser automation could not open Chrome. This does not refute the reported native overlap.
    • Root cause: Unverified. Touch selections use live-range anchoring and BB's popover prefers above-selection placement, a plausible collision path rather than a confirmed cause.
    • No PR: A trusted-main native reproduction and a failing overlap regression were unavailable, so no safe fix was established.
  4. RIP21 commented on Oct 29, 2026

    @RIP21

    Second report. I hit this on my own Android phone with bb 0.47.1, so it reproduces outside the original reporter's setup.

    What happens is the same as above. I long-press text in an assistant reply, and Android's bar (Copy, Select all, Share, ...) opens above the selection, right on top of BB's toolbar with "Add to chat" and the side chat action. A web page can't hide the native bar. Tapping anywhere else clears the selection, and that closes BB's toolbar too. So on Android the BB actions are unreachable. Copying works, and that's it.

    Suggested fix

    On touch devices (pointer: coarse or below md), stop putting the menu above the selection. Two options:

    1. Open it below the selection. In TimelineSelectionMenu.tsx that means passing side="bottom" instead of the default "top" (L229, L280). It's the smallest change. iOS sometimes draws its own bar below the selection when there's no room above, so this needs a check on iOS too.
    2. Pin a bar or small bottom sheet to the bottom edge of the viewport, above the safe area, for as long as a selection is active. I prefer this one. It stays clear of whatever the OS draws near the selection, it has room for more actions, and it's where thumbs already are.

    Same component: the menu has no width limit

    SELECTION_MENU_CONTENT_CLASS is flex w-auto ... with no max-width and no overflow handling (L24-L25). Each plugin selection action adds one more button to the row. With a few plugins installed, the row can get wider than a phone screen. Radix collision handling moves the popover sideways but doesn't shrink it, so buttons past the screen edge can't be tapped. I found this by reading the code and haven't measured it on a device.

    On narrow screens the menu should cap its width at the viewport minus the collision padding and scroll horizontally. Something like max-w-[calc(100vw-16px)] overflow-x-auto on the content, plus shrink-0 whitespace-nowrap on the buttons. A bottom bar from option 2 would need the same treatment.

    AGENT GENERATED
    Written by Claude Opus 5.5 in bb from my description of what I saw on my phone. Code references checked against main at 3bacfac.

  5. RIP21 commented on Oct 29, 2026

    @RIP21

    @ymichael apologies for direct mentioning, but this problem is real (even tho no repro), and while rarely causes annoyance, still pisses me off quite a lot :)

    Surely it wasn't possible to repro for the BB Agent (slop cop) as it has no Android environment etc. But this is there for quite a long time and I'm pretty sure the fix should be relatively simple and small.

    This happens if BB installed as PWA and in the Android app too.

    Thanks!

  6. RIP21 commented on Nov 2, 2026

    @RIP21

    @ymichael thank you so much!

    Another issue is that this popup menu isn't horizontally scrollable when too wide for the screen due to many actions there (via plug-ins etc). But that's universal across platforms, but mostly relevant for mobile apps.

    Cheers!

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

    mobileno-repro

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions