Skip to content

Permission dock actions overflow in a detached tray on narrow widths #48532

Closed as not planned

Description

@CannonRS

Description

Permission dock actions sit in a detached tray and overflow on narrow widths.

The permission dock renders its action buttons in a separate DockTray below the shell. On narrow composer widths the buttons wrap awkwardly and the footer is visually detached from the content. There is no opt-in way to keep the actions inside the dock shell where they wrap cleanly.

Plugins

n/a

OpenCode version

latest dev

Steps to reproduce

  1. Trigger a permission request in the composer.
  2. Narrow the composer width.
  3. The action footer overflows / wraps awkwardly in the detached tray.

Screenshot and/or share link

n/a

Operating System

n/a (all)

Terminal

n/a

Activity

  1. opencodejr commented on Oct 28, 2026

    @opencodejr
    Contributor

    Thanks for the report and for the fix in #48536!

    This was filed against the old dev branch, which was OpenCode v1 code at the time. v1 now only gets fixes for critical bugs, so this is unlikely to be changed there.

    On v2 (@opencode/cli, 2.x) the permission dock has been rebuilt. #57559 removed the separate DockShell/DockTray layers, so the action buttons are now part of the same prompt container as the content rather than a detached tray. Please try the latest v2 release.

    A related issue that's still open:

    If the actions still overflow or wrap badly at narrow widths on v2, please reply here with your v2 version (opencode --version), the client you're using (desktop or web) and a screenshot, and we'll take another look.

  2. opencodejr commented on Oct 29, 2026

    @opencodejr
    Contributor

    Closing this as not planned. It was reported against the old v1 dev branch, and v1 now only gets critical fixes. In v2, #57559 rebuilt the permission dock and removed the detached DockTray, so the action buttons are now part of the same prompt container as the content. We waited a day in case this also happens on v2, and since there was no reply, we're closing it here.

    If the permission actions still overflow or wrap badly at narrow widths on the latest v2 release, please open a new issue with your version (opencode --version), your client (desktop or web) and a screenshot. For long commands pushing the buttons off-screen, see #49644.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions