claude-code - 💡(How to fix) Fix /diff view can't be scrolled with keyboard [1 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#60424Fetched 2026-05-20 03:58:54
View on GitHub
Comments
0
Participants
1
Timeline
6
Reactions
0
Author
Participants
Timeline (top)
labeled ×4cross-referenced ×2
RAW_BUFFERClick to expand / collapse

Bug

The /diff slash command opens a scrollable diff pane (uncommitted-changes view). When the diff is taller than the viewport, the only way to scroll is with the mouse / trackpad — no keyboard keys work.

Tested keys (none scroll):

  • j / k
  • /
  • PgUp / PgDn
  • Space / Shift+Space

The footer only shows ← to back · Esc to back, no scroll affordance is hinted. The scroll-down arrow visible at the bottom-right corner of the pane (see screenshot) implies scrolling is supported — but only mouse works.

Expected

j / k scroll the diff content, to match Claude Code's existing keyboard-navigation pattern elsewhere in the UI. / and PgUp / PgDn as additional bindings would also be nice.

Repro

  1. Make a diff longer than one screen.
  2. Run /diff.
  3. Try to scroll with any key — nothing scrolls. Only the mouse wheel / trackpad works.

Environment

  • Claude Code v2.1.144
  • macOS, Ghostty terminal
<img width="2000" height="1125" alt="Image" src="https://github.com/user-attachments/assets/8f54561b-abe9-41e3-b2f7-9ec9882b07a2" />

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