diff --git a/src/custom/permissions.tsx b/src/custom/permissions.tsx index 042770bb2..2e0952c16 100644 --- a/src/custom/permissions.tsx +++ b/src/custom/permissions.tsx @@ -418,6 +418,26 @@ export const PermissionShield: React.FC = ({ disableFocusListener disableTouchListener slotProps={{ + popper: { + modifiers: [ + { + name: 'flip', + enabled: true, + options: { + fallbackPlacements: ['bottom', 'right', 'left'] + } + }, + { + name: 'preventOverflow', + enabled: true, + options: { + boundary: 'viewport', + altAxis: true, + padding: 8 + } + } + ] + }, tooltip: { sx: { background: '#1A1A1A',