When scrolling a code block in Obsidian, the Copy button doesn’t stay in the top right corner, and instead scrolls with the code.
How to reproduce:
- Create any codeblock with a language set (required to make scrollable)
- Fill codeblock with text so that the scroll bar appears (shrink window if needed)
- Observe
Copy
button in top right - Scroll the codeblock
- Observe
Copy
button scrolls with the content
Made sure I’m on the latest version, v0.12.19. I’ve attached a file as a test case, here’s a video of it.
test.md (1.6 KB)