Skip to content

fix(streamdown): increase dropdown z-index#463

Open
ziyadev wants to merge 3 commits intovercel:mainfrom
ziyadev:fix/dropdown-z-index
Open

fix(streamdown): increase dropdown z-index#463
ziyadev wants to merge 3 commits intovercel:mainfrom
ziyadev:fix/dropdown-z-index

Conversation

@ziyadev
Copy link

@ziyadev ziyadev commented Mar 12, 2026

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.

screenshot-2026-03-12_11-11-15

@vercel
Copy link
Contributor

vercel bot commented Mar 12, 2026

@ziyadev is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@aradhyacp
Copy link
Contributor

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 :)

@ziyadev
Copy link
Author

ziyadev commented Mar 12, 2026

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants