Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
r100-stack committed Mar 4, 2025
1 parent 27212ab commit 5ef4eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/itwinui-react/src/core/Menu/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export const Menu = React.forwardRef((props, ref) => {
} = props;

const menuContext = React.useContext(MenuContext);
const portal = portalProp || menuContext?.portal;
const portal = portalProp ?? menuContext?.portal;

const tree = useFloatingTree();
const nodeId = useFloatingNodeId();
Expand Down

0 comments on commit 5ef4eaf

Please sign in to comment.