Files
craft-libs/crates
aiongg fac70bfc88 Popup bodies are content-sized layer containers placed by this pass's measure
OverlayUi::show shows its body closure through the container pipeline: a
private content-sized layer container (popup surface, POPUP_PAD, no node of
its own). Step 5 measures the body before the host places the layer, so a
popup whose content changes is placed by its new size in the pass that shows
it, and a filling child takes the width the popup settles on.

The popup keeps its owner key: ContainerProps::owner (crate-private) makes
the container's memory, presence and layer bookkeeping belong to the
component that shows the popup (or the opener its overlay names), so body
memory lasts across a close and KeepAnchor focus return finds the anchor.

The host places a measured layer by at least its least width. The layer's
least width at its anchor reaches a content-sized collection through the
LayerFloor env value the layer container gives its regions in both runs,
replacing the least width the layer memory carried from the last pass.
2026-11-17 03:49:21 +00:00
..
…
…
…
…
…
…
…
…
…
…
…
…
2026-11-17 01:37:58 +00:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-11-17 01:04:26 +00:00
2026-11-16 16:48:00 +00:00
…
…
…
…
…
…
…