Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Tooltips unable to be displayed in Topbar #1663

Open
scurker opened this issue Sep 6, 2024 · 0 comments
Open

Bug: Tooltips unable to be displayed in Topbar #1663

scurker opened this issue Sep 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@scurker
Copy link
Member

scurker commented Sep 6, 2024

Steps to reproduce

Have some tooltip rendered within a topbar. The tooltip will be displayed behind the topbar.

Expected Behavior

Tooltips should always be displayed in the top level layer.

Actual Behavior

The z-index value for tooltips (22) is lower than TopBar's z-index:

/* ensure this is a higher value than the rest (above)! */
--z-index-top-bar: 25;
/* ensure this is 1 higher than the top bar z-index */
--z-index-skip-container: calc(var(--z-index-top-bar) + 1);

Tooltips by default are displayed on document.body making them extremely hard to override without a lot of specific code. Generally speaking, likely should be displayed in the top most layer.

Version

6.x

@scurker scurker added the bug Something isn't working label Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant