0.9.1-alpha.4
Alpha@xaui/native@0.9.1-alpha.4
Patch Changes
-
06d5069: Add
PortalandPortalHostto@xaui/native/system.Portalrenders its children into the nearestPortalHostinstead of where it sits, which is whatDialog,Sheet,DrawerandSnackbarwill be built on — an overlay has to escape the clipping and stacking of whatever container held the trigger. Publishing happens in a layout effect, so the content lands in the same commit as the trigger's and an overlay never shows a frame late.Outside a host the context is
nullandPortalrenders nothing rather than throwing: an app that forgotPortalHostshould lose its overlays, not crash on its first dialog.