fix overflow menu positioning

This commit is contained in:
Abhinav 2022-06-21 13:16:19 +05:30
parent e9f0484c97
commit 4687722177

View file

@ -40,6 +40,14 @@ export default function OverflowMenu({
MenuListProps={{
disablePadding: true,
'aria-labelledby': ariaControls,
}}
anchorOrigin={{
vertical: 'bottom',
horizontal: 'center',
}}
transformOrigin={{
vertical: 'center',
horizontal: 'right',
}}>
{children}
</StyledMenu>