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

feat: add logic for Popover auto-adding on setting target #6565

Merged
merged 5 commits into from
Aug 27, 2024

Conversation

web-padawan
Copy link
Member

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

Description

Based on DX tests findings, we decided to introduce auto-adding logic as all the participants were confused with popover.open() not working with no warnings when Popover is not manually added to the UI.

UPD: the logic has been changed to auto-add when calling setTarget() instead of open() (and also remove the auto-attached Popover if the target is either detached or reset to null).

Type of change

  • Feature

@web-padawan web-padawan changed the title feat: add logic for Popover auto-adding to the UI on open feat: add logic for Popover auto-adding on setting target Aug 26, 2024
Copy link

sonarcloud bot commented Aug 27, 2024

@web-padawan web-padawan merged commit 7000581 into main Aug 27, 2024
5 checks passed
@web-padawan web-padawan deleted the feat/popover-auto-add branch August 27, 2024 08:03
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.5.0.

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.

3 participants