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

refactor: include notification container into the overlay stack #8198

Merged
merged 3 commits into from
Nov 21, 2024

Conversation

web-padawan
Copy link
Member

@web-padawan web-padawan commented Nov 21, 2024

Description

Fixes vaadin/flow-components#6836

This is an alternative fix to #8193 as suggested in #8193 (comment)

Adding notification container to the common overlay stack resolves also the issue similar to the one reported in #5748 but for vaadin-popover and other overlays that can be technically triggered from buttons inside the vaadin-notification.

Type of change

  • Refactor / bugfix

Note

We also have _enterModalState() method in the OverlayStackMixin - this method isn't called in case of notification container, so that it's still possible to interact with underlying vaadin-dialog when the notification is opened from it.

Copy link
Member

@tomivirkki tomivirkki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The z-index: 1000 and z-index: 1100 in notification and tooltip styles are probably no longer needed either, but this doesn't need to be addressed by this PR

@web-padawan web-padawan removed the request for review from sissbruecker November 21, 2024 13:25
@web-padawan
Copy link
Member Author

The Firefox test is unrelated to the PR, I'm going to merge without requiring checks to pass.

@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.6.0.beta3 and is also targeting the upcoming stable 24.6.0 version.

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

Successfully merging this pull request may close these issues.

Tooltip messes up z-index of dialog
3 participants