[Feature Request] Sticky copy button for long code blocks (always visible without scrolling to top)

Open 💬 1 comment Opened Jul 13, 2026 by adomosadomos

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

Feature Request

Currently, the copy button for code blocks is only visible at the top of the block.
For long code blocks, users must scroll back to the top to copy — this is inconvenient.

Expected Behavior

The copy button should remain visible (sticky) as the user scrolls through a long code block,
similar to how ChatGPT handles this.

Steps to reproduce the inconvenience

  1. Generate a long code block in Claude Code chat
  2. Scroll down within the code block
  3. Copy button is no longer visible — must scroll back to top to copy

Platform

  • Claude Code (Desktop App / Web)

Proposed Solution

Make the copy button sticky so it remains visible in the top-right corner of the code block as the user scrolls through it, without needing to scroll back to the top.

Alternative Solutions

_No response_

Priority

Critical - Blocking my work

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗