Read the portal layer of the nearest enclosing SafeArea, as the container of popups that belong to the page,
such as a pinned settings panel, so they hide and go inert with it while staying clickable.
Returns HTMLElement|null
The portal layer, or null outside a safe area or before it mounts.
Read the portal layer of the nearest enclosing SafeArea, as the
containerof popups that belong to the page, such as a pinned settings panel, so they hide and go inert with it while staying clickable.