Resolves a styled portal's container: an explicit container wins, including null (which Base UI reads as "wait"), and otherwise the nearest PortalContainerProvider applies, leaving Base UI's default when there is none.
container
null
The portal's own container prop.
Resolves a styled portal's container: an explicit
containerwins, includingnull(which Base UI reads as "wait"), and otherwise the nearest PortalContainerProvider applies, leaving Base UI's default when there is none.