claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Scrolling Disruption When Generating Code Blocks in Long Conversations

Open taylorsatula opened this issue 7 months ago • 5 comments

Bug Description When chats get long and Claude tries to generate a codeblock it bounces way higher up in the conversation window and you have to scroll back down. This has been happening for at least a few weeks and happens reliably.

Environment Info

  • Platform: macos
  • Terminal: Apple_Terminal
  • Version: 0.2.115
  • Feedback ID: bcafe105-0616-4d22-aee4-a2973859cd06

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at rD (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:599:3469)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:529:14049\n    at D (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:491:12863)\n    at $$1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:529:13570)\n    at tD (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:529:13187)\n    at l86 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2016:21268)","timestamp":"2025-05-16T20:38:24.550Z"},{"error":"AxiosError: Request failed with status code 404\n    at MH (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:525:1070)\n    at Unzip.K0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:9965)\n    at Unzip.emit (node:events:519:35)\n    at Unzip.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1696:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at cd.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:528:2081)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async P96 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1912:1066)\n    at async T96 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1912:1942)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1912:5010)\n    at async Bz5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1884:5962)\n    at async vX1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1884:3792)\n    at async HB1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1049:770)\n    at async Dz5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1884:3167)\n    at async md1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1884:3024)","timestamp":"2025-05-16T20:43:56.525Z"},{"error":"Error: File content (33831 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at Kg9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1041:8453)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1041:7252)\n    at async Bz5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1884:5962)\n    at async vX1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1884:3792)\n    at async HB1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1049:770)\n    at async Dz5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1884:3167)\n    at async md1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1884:3024)\n    at async tn (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1884:2142)\n    at async xX1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1884:976)","timestamp":"2025-05-16T20:44:39.660Z"},{"error":"Error: File content (33831 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at Kg9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1041:8453)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1041:7252)\n    at async Bz5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1884:5962)\n    at async vX1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1884:3792)\n    at async HB1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1049:770)\n    at async Dz5 (file:///opt/homebrew

Note: Error logs were truncated.

taylorsatula avatar May 17 '25 01:05 taylorsatula

Also having this issue on macOS, latest version as of 03/28/25

95 avatar May 28 '25 13:05 95

Really annoying, basically makes it impossible to scroll up and read longer outputs, you just find your position and it jerks to the the top of a long conversation. Maybe its related to the time that vscode integration became possible?

nkeilar avatar May 30 '25 01:05 nkeilar

I am finding this with WezTerm on both macOS and Gnome/Wayland

jimsynz avatar May 30 '25 03:05 jimsynz

Same issue here on Windows 11 with WSL Ubuntu Xterm. Sometimes scrolling even becomes disabled.

RensTillmann avatar Jun 03 '25 10:06 RensTillmann

Same here Linux - Ubuntu

WalterColling avatar Jun 09 '25 19:06 WalterColling

Mine actually is locked at the bottom while it's asking me to approve changes I can't scroll up to view.

MaitreyaBuddha avatar Jul 31 '25 22:07 MaitreyaBuddha

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 03 '25 10:12 github-actions[bot]