mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-15 13:00:25 +02:00
Set all popovers withinPortal by default
This commit is contained in:
@@ -45,7 +45,11 @@ const StyledMenuDivider = styled(MantineMenu.Divider)`
|
||||
`;
|
||||
|
||||
export const DropdownMenu = ({ children, ...props }: MenuProps) => {
|
||||
return <StyledMenu {...props}>{children}</StyledMenu>;
|
||||
return (
|
||||
<StyledMenu withinPortal {...props}>
|
||||
{children}
|
||||
</StyledMenu>
|
||||
);
|
||||
};
|
||||
|
||||
const MenuLabel = ({ children, ...props }: MenuLabelProps) => {
|
||||
|
||||
Reference in New Issue
Block a user