Regression: Codex Desktop copy button no longer stays sticky in long code blocks
Summary
The copy button for long code blocks no longer stays sticky/accessible while scrolling after the Enable word wrap icon was added next to it.
!Copy button no longer sticky in long Markdown code block
What version of the Codex App are you using (From “About Codex” dialog)?
26.429.20946
What subscription do you have?
Plus
What platform is your computer?
Darwin 25.3.0 arm64 arm
What issue are you seeing?
The copy button for long fenced code blocks in Codex Desktop no longer remains sticky/accessible while scrolling through the block.
This is a regression. Before the recent code block toolbar change, the copy affordance stayed reachable while navigating long code blocks. After the Enable word wrap icon was added next to the copy icon, the copy button appears to be tied to the top of the code block instead of remaining sticky while the user scrolls through a long block.
The issue was initially observed with a long Markdown (md) code block emitted in chat. It was then reproduced with other long fenced code blocks as well: tsx, python, and json.
What steps can reproduce the bug?
- Open Codex Desktop on macOS.
- Ask the assistant to output a long fenced code block, long enough that the block extends beyond the visible viewport.
- Reproduce with multiple fence languages, for example
md,tsx,python, andjson. - Scroll down through the generated code block.
- Observe the code block toolbar area where the copy button and
Enable word wrapicon appear.
What is the expected behavior?
The copy button should remain sticky/visible while any part of a long code block is visible, so the user can copy the full block without scrolling back to the top.
The button should still copy the entire fenced code block and should not overlap the code content or the word-wrap control.
Additional information
This started after the Enable word wrap icon was added beside the copy button in code blocks. The suspected regression is that the new toolbar layout changed or removed the previous sticky behavior for the copy affordance.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗