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
Long permission prompt can push approve/deny buttons outside the visible screen #29515
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
Open OpenCode.
Trigger a permission / authorization request with a long command, path, label, or description.
Observe the permission prompt in the frontend.
The content becomes too long for the visible screen.
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.
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
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.
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.
Activity
github-actions commentedon May 27, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
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.
[-]Authorization prompt can overflow the viewport and make the action buttons inaccessible[/-][+]Long permission prompt can push approve/deny buttons outside the visible screen[/+]github-actions commentedon May 27, 2026
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.
github-actions commentedon May 27, 2026
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:compliancelabel has been removed.github-actions commentedon Jul 27, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.