Skip to content

[Bug]: New UI horizontal tab bar unusable on mobile with 4+ sessions — only close button clickable #38974

Closed as not planned

Description

@SyuTingSong

Description

The legacy (old) UI worked fine on mobile: the vertical sidebar gave each session enough room, and I could switch between sessions reliably.

After the new UI layout was enabled, the horizontal session tab bar at the top does not scale for small mobile viewports. With 4 sessions open, each tab shrinks to a tiny icon-only square, and the active/4th tab area becomes so narrow that only the close (×) button remains clickable. I cannot tap the tab itself to switch to that session.

This is a regression from the old layout and makes the new UI effectively unusable on a phone.

Related but distinct:

This issue is specifically about the tab bar itself becoming unclickable once 4+ tabs are open.

Plugins

No response

OpenCode version

v1.18.4

Steps to reproduce

  1. Open OpenCode Web on a mobile browser with the new UI layout enabled.
  2. Open a project.
  3. Create or open 4 sessions so the horizontal tab bar shows 4 tabs.
  4. Try to tap the 4th tab to switch to that session.

Screenshot and/or share link

Mobile screenshot showing 4 squeezed icon-only tabs in the top bar, with the close (×) button on the right. The tab area itself is too narrow to tap.
Screenshot

Operating System

Mobile (reproducible on any narrow viewport)

Terminal

Web UI

Activity

  1. andresperezl commented on Aug 17, 2026

    @andresperezl

    Still reproducible on v1.18.17 with Chrome mobile emulation at 390x844. With five draft tabs, inactive tabs collapse to icon-only slivers and the active tab becomes essentially a close-button target, leaving no practical hit area for switching tabs.

    Five OpenCode tabs collapsed on a phone viewport

  2. thdxr commented on Oct 11, 2026

    @thdxr
    Member

    Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

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