fix(streamdown): increase dropdown z-index#463
Conversation
|
@ziyadev is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
|
Nice catch Could you update the PR description to mention that the issue occurs specifically when the code block is in fullscreen mode? In normal view the dropdown appears to work as expected, but the overlap seems to happen in fullscreen. Adding that context to the PR body would help maintainers reproduce and verify the issue more quickly :) |
Ofc |
Summary
Increases the z-index of the copy dropdown in copy-dropdown.tsx to ensure it appears above the sticky table header.
Problem
In fullscreen mode, when hovering over a code block that contains a table, the copy dropdown is rendered behind the sticky , causing it to be partially or fully hidden. In normal (non-fullscreen) view the dropdown appears correctly.
Fix
Increased the z-index on the copy dropdown so it always renders on top of the table header, regardless of view mode.