claude-code - 💡(How to fix) Fix [BUG] Claude Code iOS app: Bash approval dialog truncates command with no way to view full text [3 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#48411Fetched 2026-04-16 07:00:54
View on GitHub
Comments
3
Participants
2
Timeline
8
Reactions
0
Timeline (top)
labeled ×4commented ×3closed ×1

Root Cause

Forces a choice between approving a partially-hidden command (security risk) or denying and losing context. Doesn't happen on desktop because the full command renders.

Code Example

git add underwriting/WILMIC/LPL/
manuals/
distilled_unacceptable_risks.md \…
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
  • I am using the latest version of Claude Code

What's Wrong?

On the official Claude Code iOS app, when a bash command requires approval, the approval dialog truncates long commands with \… and provides no way to see the rest before deciding. There is no tap-to-expand, no scroll inside the command block, and no detail view.

Example shown in the dialog:

git add underwriting/WILMIC/LPL/
manuals/
distilled_unacceptable_risks.md \…

The \… indicates further arguments exist but they are unreachable from the UI.

What Should Happen?

The full command should be viewable before approving — via one of:

  • A scrollable command block
  • Tap-to-expand
  • A separate detail view between the command and the Allow/Deny buttons

Steps to Reproduce

  1. Open the Claude Code iOS app
  2. Run a session that triggers a bash command long enough to wrap past the dialog's visible area (e.g. git add with many paths, or any multi-flag command)
  3. Wait for the approval prompt
  4. Observe the command is truncated with \… and cannot be expanded or scrolled

Impact

Forces a choice between approving a partially-hidden command (security risk) or denying and losing context. Doesn't happen on desktop because the full command renders.

Claude Model

Not sure / Multiple models

Is this a regression?

I don't know

Claude Code Version

iOS app (latest from App Store) — no CLI version applies

Platform

Anthropic API

Operating System

Other (iOS — official Claude Code app)

Terminal/Shell

Other (iOS app, not a terminal)

Additional Information

Screenshot of the truncated dialog below

extent analysis

TL;DR

The approval dialog in the Claude Code iOS app should be modified to display the full bash command, either through a scrollable command block, tap-to-expand, or a separate detail view.

Guidance

  • The issue is likely caused by a UI limitation in the approval dialog, which truncates long commands and does not provide a way to view the full command.
  • To verify the issue, reproduce the steps provided, paying attention to the command truncation and the absence of any expansion or scrolling mechanism.
  • A potential workaround could be to display the full command in a separate detail view, accessible through a "View Full Command" button or a similar UI element.
  • The Anthropic API and iOS platform specifics may need to be considered when implementing a solution, to ensure compatibility and proper rendering of the command.

Example

No code snippet is provided, as the issue is related to the UI and UX of the Claude Code iOS app, rather than a specific code implementation.

Notes

The solution may require modifications to the app's UI and potentially the underlying API interactions, to accommodate the display of full commands and provide a secure and user-friendly experience.

Recommendation

Apply a workaround, such as implementing a scrollable command block or a separate detail view, to ensure that users can view the full command before approving or denying it. This approach addresses the immediate security risk and usability issue, while a more comprehensive solution can be explored in the future.

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