diff --git a/docs/src/components/action/MuiLogoMenu.tsx b/docs/src/components/action/MuiLogoMenu.tsx index 9629faa8f66423..000b50b79b8958 100644 --- a/docs/src/components/action/MuiLogoMenu.tsx +++ b/docs/src/components/action/MuiLogoMenu.tsx @@ -1,6 +1,7 @@ import * as React from 'react'; import copy from 'clipboard-copy'; import { Link } from '@mui/docs/Link'; +import { Portal } from '@mui/base/Portal'; import Box from '@mui/material/Box'; import Snackbar from '@mui/material/Snackbar'; import Menu from '@mui/material/Menu'; @@ -92,18 +93,20 @@ export default function MuiLogoMenu({ smallerMargin, marginLeft }: MuiLogoMenuPr Copy wordmark as SVG - - - Copied to clipboard! - - } - /> + document.body}> + + + Copied to clipboard! + + } + /> + ); }