anomalyco / anomalyco/opencode

Mobile: reasoning-effort (variant) select overlaps the send button in prompt input

Open
#42,834 1 comment 2 reactions 1 assignee View on GitHub

@Brendonovich is already working on this.

Since Aug 16, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
Avg merge
7h 2m
Merged PRs (30d)
384

Description

Description

On mobile/narrow viewports (320-390px), the reasoning-effort (variant) select in the v2 prompt input overlaps the send button, making the "thinking strength" option unclickable.

Root cause

In the prompt-input DockTray, the attach/model/variant selects live inside a flex min-w-0 flex-1 container. Their wrapping TooltipV2/menu layers defaulted to min-width: auto, so they could not shrink. On narrow screens the variant select overflowed onto the fixed send button and was visually hidden/covered.

Suggested fix

Add min-w-0 so the flex children can shrink: on the tray flex container ([&>*]:min-w-0), on the PromptInputV2Select tooltip wrapper, and on the select trigger button.

Environment
  • Platform: mobile web (320-390px widths)
  • Version: v2 prompt input

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.