Files
craft-libs/crates/ui-widgets/tests/it/popover
skylartaylor a9fb6eb444 Opener Escape trials: the opener sits in another layer, as the rule is for
The default trial assumed an Escape at the opener left the popover open, but a
popup already takes an Escape while the focus is in no layer, so with its opener
in the window the popover closed without the rule. The rule is for an opener inside
another layer (a dialog's button, as LightCraft's New Effect Preset dialog has),
where the focus is in the outer layer and the popover, though on top, holds none:
there nothing closes without it. The trials now put the opener in an outer popover,
check the outer layer stays open, and keep a control showing a window-level opener
needs no rule.
2026-11-24 15:27:38 +01:00
..