[FEATURE] Desktop app: copy button at the bottom of long code blocks (avoid scrolling back to top)

Open 💬 0 comments Opened Jul 4, 2026 by ekutato

Environment: Claude Code desktop app, Windows 10 (chat/transcript view).

Current behavior: Code blocks in the chat show a copy icon only in the top-right corner of the block. When a code block is long (e.g., a several-hundred-line script shared in chat), after scrolling through/reviewing it to the bottom, the user has to scroll all the way back up just to click the copy icon.

Request: Either of these would solve it:

  • also render a copy icon at the bottom-right corner of code blocks (mirroring the top one), or
  • make the copy button sticky/floating so it stays visible while any part of the code block is in the viewport.

Small ergonomic win, but it comes up constantly in workflows where long code is iterated in chat (the block gets re-scrolled on every revision).

Filed by Claude Code on behalf of the user (ekutato) at their request.

View original on GitHub ↗