Skip to content

Web UI V2 prompt controls overlap the send button on narrow displays #43295

Closed

Description

@bmpenuelas

Description

On narrow viewports, the V2 prompt composer keeps agent, model, and model-variant controls in one row. When their combined width exceeds the available space, those controls render over the submit button. Tapping the apparent send area can open a selector and the user is unable to send the message by tapping the send button.

Related issues: #38848 #38210

Plugins

No plugins

OpenCode version

dev branch (9b0dd36)

Steps to reproduce

  1. Start the web UI with opencode web.
  2. Open a session at a 320 CSS-pixel-wide viewport or on a phone.
  3. Choose a model with a long name and a reasoning/model variant.
  4. Type a prompt so that the send button is enabled.
  5. Observe the controls at the bottom of the composer, it's impossible to click/tap the Send button, the dropdown opens instead.

Screenshot and/or share link

Image

Operating System

Tested on Windows and Android, but applies to any OS that renders the web UI

Terminal

Not terminal-specific

Activity

  1. github-actions commented on Aug 18, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If your report covers a distinct scenario not addressed in those issues, please add a comment there clarifying the difference.

  2. bmpenuelas commented on Aug 18, 2026

    @bmpenuelas
    Author

    The highlighted issues #38848 , #38210 are related to the same UI elements but are reported on different platforms.

  3. vladysta commented on Aug 19, 2026

    @vladysta

    I can reproduce the same problem on mobile, in a slightly different configuration.

    When the agent selector is enabled in settings (Build agent / Plan agent) and the selected model has a model variant / reasoning level, the agent + model + variant controls in the composer row don't fit the narrow viewport. They overlap the send button, so I cannot send a message from the phone at all — I have to switch to the desktop version. The screenshot below shows the composer with the controls covering the submit button.

    • OpenCode version: 1.18.18
    • Device: Android 17, Google Chrome (151.0.7922.137)
    • Reproduce: enable agent selection in settings → open a session → pick a model with a reasoning level / model variant → type a message → the send button is unreachable.

    Screenshot_20260819-093316.png

    Screenshot_20260819-093351.png

    Screenshot_20260819-093404.png

  4. bmpenuelas commented on Aug 19, 2026

    @bmpenuelas
    Author

    Thank you @vladysta for the additional repro! I have submitted PR #43298 with a fix. I hope it will be merged soon, but in the meantime you can take it and run it locally if you want a quick solution

  5. Capicua25x commented on Sep 4, 2026

    @Capicua25x

    Root cause, for anyone else hitting this: the footer controls are a flex row, and each label is a truncate span inside an inline-flex button inside the TooltipV2 trigger div (display: flex). Flex items default to min-width: auto, so none of those three boxes can shrink below the label text and the ellipsis never fires; the row overflows and the variant control lands under the send button.

    #47330 adds min-w-0 at those three levels (label spans, the agent/variant trigger button, the tooltip trigger wrapper). Measured at 360 px headless: variant control before 303–385 (past the viewport), after 234–291, flush with the send button at 291. Verified on an Android phone as well; screenshots in the PR.

  6. bmpenuelas commented on Sep 4, 2026

    @bmpenuelas
    Author

    Thank you, I had already submitted PR #43298 which fixes this with a slightly more refined solution (based on review feedback) that dynamically adds a scrollable track and visual indicators (chevrons, fade in and out...)

  7. MTG-Thomas commented on Sep 10, 2026

    @MTG-Thomas

    +1 — seeing the same root cause on the v1 web UI (opencode 1.18.30, Windows 11 host, iPhone 13 Pro / iOS 26.6.1 / Safari ~390px): the Send button overlaps the thinking/token-amount pill in the composer. Enter-to-send and landscape are workarounds. Tracked separately as #48260 with full repro — looks like v1 and v2 share the underlying composer layout issue.

  8. neriousy commented on Oct 20, 2026

    @neriousy
    Member

    V2 now keeps agent, model, and variant controls in a horizontally scrollable area, separate from the fixed send/stop buttons, so overflowing controls no longer cover them. To get v2: npm i -g @opencode/cli@latest or curl -fsSL https://opencode.ai/v2/install | bash (desktop: update the app). If you still see this on v2, please open a new issue with the details.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions