You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed another issue in this context. When OpenOnHover is used, it can happen that it always opens in the background. If the dialog is large enough, it doesn't even notice it. This is not the case with click.
I was able to reproduce the issue by opening another popover within the popover.
publicclassTestViewextendsHorizontalLayout {
publicTestView() {
finalButtonopen = newButton("Open");
open.addClickListener(e -> {
finalvardialog = newDialog();
dialog.setModal(false);
dialog.setDraggable(true);
finalvaricon = VaadinIcon.INFO_CIRCLE.create();
dialog.add(icon);
finalvartext = newSpan("This is a info text with icon.");
finalvarpopover = newPopover(VaadinIcon.INFO_CIRCLE.create(), text);
popover.setOpenOnHover(true);
popover.setTarget(icon);
finalvarsecond = newPopover(VaadinIcon.INFO_CIRCLE.create(), newText("This is a info text with icon."));
second.setOpenOnClick(true);
second.setTarget(text);
dialog.open();
});
add(open);
}
}
Dialogs still need to be brought to the front on click/move, however popovers opened within the same stacking context should preserve the stacking context order as well.
Description
I have a popover in a modeless dialog. The popover goes into the background (even behind the dialog) when the dialog is moved.
I described the problem in the forum, and I was advised to open a ticket. Popover in draggable and modeless dialog - Vaadin Forum I also shared two videos of the problem.
Expected outcome
My expectation is that the popover remains above the dialog when the dialog is moved.
Minimal reproducible example
Steps to reproduce
Environment
Vaadin version(s): 24.5.0, 24.6.2, 24.7.0.alpha4
OS: Windows 11
Browsers
Firefox
The text was updated successfully, but these errors were encountered: