claude-code - 💡(How to fix) Fix [BUG] Permission approval dialog truncated — Allow button not reachable on screen (Windows) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48462Fetched 2026-04-16 06:59:30
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×4closed ×1commented ×1

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

The tool approval dialog is too tall to fit on screen. The Allow/Deny buttons render below the visible area with no way to scroll to them, making it impossible to approve tool uses.

What Should Happen?

Dialog should have a max height with internal scroll, keeping the Allow/Deny buttons always visible.

Error Messages/Logs

Steps to Reproduce

Trigger a large Agent tool call with a long prompt. The approval dialog expands to full prompt length with no height cap or scroll.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.42

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

No response

extent analysis

TL;DR

Implement a maximum height with internal scrolling for the tool approval dialog to ensure Allow/Deny buttons are always visible.

Guidance

  • Review the CSS styling for the tool approval dialog to identify the element causing the excessive height and consider applying a max-height property with overflow-y: auto to enable scrolling.
  • Verify that the dialog's content is properly wrapped in a container that can handle scrolling, such as a div with overflow-y: auto.
  • Test the dialog with various prompt lengths to ensure the scrolling functionality works as expected and the Allow/Deny buttons remain visible.
  • Consider adding a minimum height or padding to the dialog to prevent the buttons from being cut off in cases where the prompt is very short.

Example

.tool-approval-dialog {
  max-height: 500px; /* adjust this value based on your design requirements */
  overflow-y: auto;
}

Notes

The exact CSS class names and HTML structure are not provided in the issue, so the example above is a general illustration of how to apply a maximum height with scrolling.

Recommendation

Apply a workaround by modifying the CSS styling of the tool approval dialog to include a maximum height and internal scrolling, as this is a regression and the previous version worked as expected.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING