Open web-padawan opened 1 day ago
Note, we have some logic to prevent closing popover on overlay mouseleave when it's not the last overlay. It's supposed to cover cases with nested overlays - and in theory the vaadin-dialog
might be also considered a "nested" overlay (especially when it's opened by click on the button inside the vaadin-popover
) - in that case the parent popover shouldn't close.
I think we could add a logic to close the popover overlay on target mousedown
in case its only trigger is "hover" + "focus", to make it behavior aligned with vaadin-tooltip
. This way the UX of these components would be more consistent.
Description
Tested the case from #8195 with
vaadin-popover
and there's a different problem: popover never closes. Technically it can happen in case when popover is used as an interactive tooltip withhover
trigger.Expected outcome
Expected the popover to be closed before the dialog opens.
Minimal reproducible example
Steps to reproduce
Environment
Vaadin version(s): 24.5
Browsers
Issue is not browser related