portalRoot

fun RenderContext.portalRoot(scopeContext: ScopeContext.() -> Unit = {}): RenderContext

A portalRoot is needed to use floating components like modal, toast and popupPanel.

Should be the last element in document.body to ensure it will not be clipped by other elements.

See also