-
Notifications
You must be signed in to change notification settings - Fork 71
Closed
Labels
Impact: LowSeverity: MajorbugSomething isn't workingSomething isn't workingrequires new majorThis would be a breaking changeThis would be a breaking changev25To be done in V25To be done in V25vaadin-confirm-dialog
Description
Description
When trying to remove any content from a ConfirmDialog via ConfirmDialog.remove(...)
or ConfirmDialog.removeAll()
, the content does not get properly removed. It is still visible.
Follow-up from a comment in a similar dialog issue.
Expected outcome
I would expect the content to be both properly removed from the DOM and not be visible anymore.
Minimal reproducible example
ConfirmDialog dialog = new ConfirmDialog();
dialog.add(new Paragraph("Text content"));
dialog.add(new NativeButton("Clear dialog", event -> reference.get().removeAll()));
dialog.open();
Steps to reproduce
- Add the snippet above to a view
- Click the clear button
- Observe that the "Text content" is not removed
Environment
Vaadin version(s): 24.2
OS: MacOS
Browsers
Issue is not browser related
heruan
Metadata
Metadata
Assignees
Labels
Impact: LowSeverity: MajorbugSomething isn't workingSomething isn't workingrequires new majorThis would be a breaking changeThis would be a breaking changev25To be done in V25To be done in V25vaadin-confirm-dialog