claude-code - 💡(How to fix) Fix [BUG] VSCode extension: copy button on completed code blocks flickers during streaming [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#58780Fetched 2026-05-14 03:39:39
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Participants
Timeline (top)
labeled ×5

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?

While Claude is streaming a response, the "copy" icon in the top-right corner of every completed code block flickers (rapidly fades in/out) at the same rate as new tokens arrive. The flicker only happens when the mouse cursor is hovering over the code block — which is exactly when the user is about to click the button.

This produces visible strobing of the copy button.

What Should Happen?

The copy button should remain stably visible while the cursor hovers over a completed code block, regardless of streaming activity in the rest of the message.

Error Messages/Logs

Steps to Reproduce

  1. Install Claude Code VSCode extension v2.1.140.
  2. Open the Claude Code panel.
  3. Send a prompt that produces a long response containing at least one early code block, e.g.: "Show me a TypeScript example of a debounce function, then explain in 5 paragraphs how it works."
  4. As soon as the first ``` code block is fully rendered, hover the mouse over it.
  5. Keep watching the copy icon in the top-right corner of that code block while the model continues streaming the explanation below.

Expected: copy icon stays solidly visible while hovered. Actual: copy icon flickers/strobes with the streaming token rate (~10–20 Hz).

Environment:

  • Claude Code VSCode extension: v2.1.140 (anthropic.claude-code)
  • VSCode: 1.119.0 8b640eef5a6c6089c029249d48efa5c99adf7d51 arm64
  • macOS 15 (Darwin 25.0.0), MacBook Pro 14" M4

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

Platform

AWS Bedrock

Operating System

macOS

Terminal/Shell

Other

Additional Information

No response

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