Popup click should not open page

This commit is contained in:
binwiederhier 2023-02-11 10:52:19 -05:00
parent b026e45189
commit 669d269fd9
2 changed files with 8 additions and 2 deletions

View file

@ -291,7 +291,14 @@ const SubscriptionItem = (props) => {
</ListItemIcon>
}
<ListItemIcon edge="end" sx={{minWidth: "26px"}}>
<IconButton size="small" onMouseDown={(e) => e.stopPropagation()} onClick={(e) => setMenuAnchorEl(e.currentTarget)}>
<IconButton
size="small"
onMouseDown={(e) => e.stopPropagation()}
onClick={(e) => {
e.stopPropagation();
setMenuAnchorEl(e.currentTarget);
}}
>
<MoreVert fontSize="small"/>
</IconButton>
</ListItemIcon>