diff --git a/ts/axo/AxoContextMenu.dom.tsx b/ts/axo/AxoContextMenu.dom.tsx index 70f6fe0464..2a475f7117 100644 --- a/ts/axo/AxoContextMenu.dom.tsx +++ b/ts/axo/AxoContextMenu.dom.tsx @@ -232,6 +232,7 @@ export namespace AxoContextMenu { * Uses a portal to render the content part into the `body`. */ export const Content: FC = memo(props => { + const { open } = useStrictContext(RootContext); return ( {props.children}