claude-code - 💡(How to fix) Fix Agents dialog: arrow key navigation doesn't scroll selected item into view [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#55100Fetched 2026-05-01 05:46:17
View on GitHub
Comments
0
Participants
1
Timeline
6
Reactions
0
Participants
Timeline (top)
labeled ×6

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?

Version: 2.1.123
macOS and Windos

Steps to reproduce:

  1. Run /agents in Claude Code
  2. Use arrow keys to navigate down the list

Expected: The list scrolls to keep the selected agent visible.
Actual: Selection jumps to the bottom of the list, and the highlighted item is not visible.

What Should Happen?

Expected: The list scrolls to keep the selected agent visible.

Error Messages/Logs

Steps to Reproduce

                                                                                                                                                                                                                                                1. Open Claude Code (terminal or desktop app)                                                                                                    2. Type /agents and press Enter to open the agents dialog

3. Use the Down arrow key to navigate through the list
4. The selection moves beyond the visible area without the list scrolling to follow it
5. It becomes impossible to see which agent is currently highlighted

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.123 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue can likely be resolved by adjusting the scrolling behavior in the agents list to keep the selected agent visible.

Guidance

  • Verify that the issue is specific to the /agents command and the arrow key navigation by trying other navigation methods or commands.
  • Check if the problem occurs in both terminal and desktop app versions of Claude Code to determine if it's a platform-specific issue.
  • Since this is a regression, comparing the current version (2.1.123) with the last known working version might help identify the change causing the issue.
  • Test the scrolling behavior with different list sizes to see if the issue is related to the number of agents in the list.

Example

No specific code snippet can be provided without more details on the implementation, but the fix might involve adjusting the scrolling logic in the agents list rendering code.

Notes

The lack of information about the last working version and specific error messages/logs limits the ability to provide a precise fix. The issue seems to be related to the UI rendering and scrolling behavior of the agents list.

Recommendation

Apply a workaround by manually adjusting the list view or using a different navigation method until the scrolling issue is fixed, as the exact cause and solution are not immediately clear without further investigation.

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

claude-code - 💡(How to fix) Fix Agents dialog: arrow key navigation doesn't scroll selected item into view [1 participants]