mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-28 01:11:23 +01:00
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.