KEMBAR78
refactor!: update vaadin-overlay to use native popover by default by web-padawan · Pull Request #9848 · vaadin/web-components · GitHub
Skip to content

Conversation

@web-padawan
Copy link
Member

@web-padawan web-padawan commented Jul 30, 2025

Description

Fixes #9822

Type of change

  • Breaking change

Note

Screenshots for overlay with backdrop have been updated: previously, the overlay from the first test remained opened, and having two overlays on top of each other caused a bigger shadow. This is no longer the case with popover.

@web-padawan web-padawan requested a review from sissbruecker July 30, 2025 14:16
firstUpdated() {
super.firstUpdated();

this.popover = 'manual';
Copy link
Contributor

Choose a reason for hiding this comment

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

Since this is set here, should we remove setting the property from individual components as well?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sounds reasonable to me. Moved the logic to OverlayMixin and removed it from component templates.

@sonarqubecloud
Copy link

@web-padawan web-padawan merged commit 5c69f2c into main Jul 31, 2025
10 checks passed
@web-padawan web-padawan deleted the refactor/overlay-popover-switch branch July 31, 2025 07:47
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 25.0.0-beta2.

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.

[overlay] Switch to using showPopover / hidePopover by default once all components are updated

3 participants