Approval dialog unscrollable when Bash command contains large payload

Resolved 💬 3 comments Opened Apr 15, 2026 by andidundeecomm Closed Apr 18, 2026

Description

When a Bash tool call contains a large inline payload (e.g. a JSON file written via heredoc for a Jira REST API call with ADF content), the approval dialog renders the entire command verbatim. There is no scroll capability on the dialog, so the Approve/Deny buttons are pushed off-screen and unreachable.

Steps to reproduce

  1. Use Claude Code (Desktop app, Windows)
  2. Trigger a Bash tool call that writes a large JSON file (e.g. ~200+ lines) via heredoc and then runs curl
  3. The approval prompt appears with the full command text
  4. The Approve/Deny buttons are below the visible area with no way to scroll down

Expected behaviour

The approval dialog should either:

  • Be scrollable so the user can reach the Approve/Deny buttons
  • Truncate/collapse the command preview with an expand option
  • Float the Approve/Deny buttons at the bottom of the dialog regardless of content length

Screenshot

User-provided screenshot shows the dialog filled entirely with raw JSON, buttons not visible or reachable.

Environment

  • Claude Code Desktop app (Windows 11)
  • Large Bash command with heredoc JSON payload (~4KB ADF content)

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗