fix overflow menu positioning
This commit is contained in:
parent
e9f0484c97
commit
4687722177
|
@ -40,6 +40,14 @@ export default function OverflowMenu({
|
||||||
MenuListProps={{
|
MenuListProps={{
|
||||||
disablePadding: true,
|
disablePadding: true,
|
||||||
'aria-labelledby': ariaControls,
|
'aria-labelledby': ariaControls,
|
||||||
|
}}
|
||||||
|
anchorOrigin={{
|
||||||
|
vertical: 'bottom',
|
||||||
|
horizontal: 'center',
|
||||||
|
}}
|
||||||
|
transformOrigin={{
|
||||||
|
vertical: 'center',
|
||||||
|
horizontal: 'right',
|
||||||
}}>
|
}}>
|
||||||
{children}
|
{children}
|
||||||
</StyledMenu>
|
</StyledMenu>
|
||||||
|
|
Loading…
Reference in a new issue