Practic BUI (Base UI) - v1.0.0
    Preparing search index...

    Function useSafeAreaPortal

    • 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.