You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Permission dock actions overflow in a detached tray on narrow widths #48532
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
Trigger a permission request in the composer.
Narrow the composer width.
The action footer overflows / wraps awkwardly in the detached tray.
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.
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.
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.
Activity
opencodejr commentedon Oct 28, 2026
Thanks for the report and for the fix in #48536!
This was filed against the old
devbranch, 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 separateDockShell/DockTraylayers, 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.opencodejr commentedon Oct 29, 2026
Closing this as not planned. It was reported against the old v1
devbranch, and v1 now only gets critical fixes. In v2, #57559 rebuilt the permission dock and removed the detachedDockTray, 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.