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

Tooltip messes up z-index of dialog #6836

Open
kevinkendzia opened this issue Nov 19, 2024 · 0 comments
Open

Tooltip messes up z-index of dialog #6836

kevinkendzia opened this issue Nov 19, 2024 · 0 comments

Comments

@kevinkendzia
Copy link

Description

If you trigger a tooltip on the page right before opening a dialog, the z-index of the dialog is set to a value higher than the z-index of notifications (> 1000).
Any notification opened inside the dialog is hidden behind it because of this.

Expected outcome

Tooltips (or any other overlay) shouldn't cause dialogs to be rendered over notifications.

Minimal reproducible example

tooltip-dialog-test.zip

Steps to reproduce

  1. Open App in Browser
  2. Hover over "TOOLTIP"
  3. Quickly press button "Open" while Tooltip is open (=> vaadin-dialog-overlay gets element-style with z-index: 1101)
  4. Click button "Notification" in dialog

=> Notification is hidden behind dialog

Environment

Vaadin version(s): 24.5.5
OS: Windows 11

Browsers

Chrome, Firefox

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

No branches or pull requests

2 participants