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

@ -44,7 +44,6 @@ import (
- MEDIUM: Test new token endpoints & never-expiring token - MEDIUM: Test new token endpoints & never-expiring token
- MEDIUM: Tests for manager.go - MEDIUM: Tests for manager.go
- LOW: UI: Flickering upgrade banner when logging in - LOW: UI: Flickering upgrade banner when logging in
- LOW: Menu item -> popup click should not open page
- LOW: get rid of reservation id, replace with DELETE X-Topic: ... - LOW: get rid of reservation id, replace with DELETE X-Topic: ...
*/ */

View file

@ -291,7 +291,14 @@ const SubscriptionItem = (props) => {
</ListItemIcon> </ListItemIcon>
} }
<ListItemIcon edge="end" sx={{minWidth: "26px"}}> <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"/> <MoreVert fontSize="small"/>
</IconButton> </IconButton>
</ListItemIcon> </ListItemIcon>