Skip to content

Long permission prompt can push approve/deny buttons outside the visible screen #29515

Closed as not planned

Description

@xuziwuyou

Bug Report

Hi, I found a UI issue related to the permission / authorization prompt.

System information

  • OS: Windows 11
  • Terminal: PowerShell
  • OpenCode version: v1.15.11

What happened?

Sometimes OpenCode asks me to approve or deny a permission request.

When the permission request content is too long, the prompt appears to exceed the visible height of the screen. As a result, the approve / deny buttons are pushed outside the visible area, and I cannot click them with my mouse.

This makes it impossible to continue the workflow from the frontend, because I cannot approve or reject the permission request.

Steps to reproduce

  1. Open OpenCode.
  2. Trigger a permission / authorization request with a long command, path, label, or description.
  3. Observe the permission prompt in the frontend.
  4. The content becomes too long for the visible screen.
  5. The approve / deny buttons are no longer visible or clickable.

Expected behavior

The permission prompt should remain usable even when the permission content is long.

For example:

  • The prompt content could be scrollable.
  • Long permission details could be collapsed by default.
  • The approve / deny buttons could stay fixed at the bottom of the dialog.
  • The dialog could fit within the visible viewport.

Actual behavior

When the permission request content is too long, the action buttons can be pushed outside the visible screen. I cannot click the approve or deny button, so I cannot continue from the frontend.

Additional context

I noticed the bot mentioned that this might be related to existing issues about long permission content or scrolling behavior.

However, I am reporting this because in v1.15.11, I still encountered a case where the permission prompt became unusable from the frontend because the action buttons were not visible or clickable.

Sorry if some of my terminology is inaccurate. I am not very familiar with frontend/UI terminology, but I hope this report is clear enough.

Activity

  1. github-actions commented on May 27, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • No issue template was used. Please use one of the three available templates: Bug Report, Feature Request, or Question.
    • System information is missing (OS, terminal, OpenCode version). This helps us reproduce and triage the issue.

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


    This issue might be a duplicate of existing issues. Please check:

    If you believe this was flagged incorrectly, please let a maintainer know.

  2. changed the title [-]Authorization prompt can overflow the viewport and make the action buttons inaccessible[/-] [+]Long permission prompt can push approve/deny buttons outside the visible screen[/+] on May 27, 2026
  3. github-actions commented on May 27, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now includes all the required information — system details, clear steps to reproduce, and expected vs actual behavior. The report looks great.

  4. github-actions commented on May 27, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now includes a clear description, system information (OS, terminal, version), steps to reproduce, and expected/actual behavior. Everything looks good — the needs:compliance label has been removed.

  5. github-actions commented on Jul 27, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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