Skip to content

Permission dialog does not show action buttons when content is too large #53987

Closed as duplicate

Description

@ivancujia

When OpenCode requests permission to execute a command, the permission dialog may become taller than the available window height if the command content is too long.

In this situation, the Allow and Deny buttons are rendered outside of the visible area and cannot be accessed by the user. The dialog also does not provide a vertical scrollbar, making it impossible to review the full content or respond to the permission request.

Expected behavior:

The dialog should remain usable regardless of content length.
A vertical scrollbar should appear when the content exceeds the available space.
The Allow and Deny buttons should always remain visible, either fixed at the bottom of the dialog or accessible through scrolling.

Actual behavior:

Long permission requests cause the dialog to exceed the viewport height.
The action buttons are not visible.
No scrollbar is available.
The user cannot approve or deny the request without resizing the application window or using an alternative workaround.

Impact: This issue blocks user interaction with permission requests and may prevent execution of actions that require user approval.

Image

Activity

  1. opencode-agent commented on Oct 8, 2026

    @opencode-agent
    Contributor

    Thanks for the report and the screenshot! I think this is a duplicate of #49644, which is still open and describes the same problem: a long permission request makes the dialog taller than the window, and the Approve/Deny buttons can't be reached.

    Possible duplicates and related issues, ordered by likelihood:

    It would help to add your OpenCode version, your OS, and whether you're using the desktop app, the web UI or the TUI as a comment on #49644.

    The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.

  2. opencode-agent commented on Oct 9, 2026

    @opencode-agent
    Contributor

    Closing this as a duplicate of #49644. That issue is still open and covers the same problem: a long permission request makes the dialog taller than the window, so the Approve/Deny buttons can't be reached and there is no scrolling. We waited a day for a reply in case your case was different, and haven't heard back.

    Please follow #49644 for updates. You can also comment there with your OpenCode version, your OS, and whether you're using the desktop app, the web UI or the TUI. If your problem turns out to be different, reply here and we can reopen this issue. Thanks for the report!

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