No ripple in dialogs

This commit is contained in:
binwiederhier 2023-01-31 22:12:16 -05:00
parent 07cdf2bc7a
commit 180a7df1e7
2 changed files with 39 additions and 39 deletions

View file

@ -37,11 +37,9 @@ import (
- HIGH Rate limiting: Sensitive endpoints (account/login/change-password/...) - HIGH Rate limiting: Sensitive endpoints (account/login/change-password/...)
- HIGH Docs - HIGH Docs
- HIGH CLI - HIGH CLI
- MEDIUM: Test for expiring messages after reservation removal
- MEDIUM: Test new token endpoints & never-expiring token - MEDIUM: Test new token endpoints & never-expiring token
- MEDIUM: Make sure account endpoints make sense for admins - MEDIUM: Make sure account endpoints make sense for admins
- MEDIUM: Reservation (UI): Show "This topic is reserved" error message when trying to reserve a reserved topic (Thorben)
- MEDIUM: Reservation (UI): Ask for confirmation when removing reservation (deadcade)
- MEDIUM: Reservation table delete button: dialog "keep or delete messages?"
- LOW: UI: Flickering upgrade banner when logging in - LOW: UI: Flickering upgrade banner when logging in
*/ */

View file

@ -276,6 +276,7 @@ const SubscriptionItem = (props) => {
}; };
return ( return (
<>
<ListItemButton onClick={handleClick} selected={props.selected} aria-label={ariaLabel} aria-live="polite"> <ListItemButton onClick={handleClick} selected={props.selected} aria-label={ariaLabel} aria-live="polite">
<ListItemIcon>{icon}</ListItemIcon> <ListItemIcon>{icon}</ListItemIcon>
<ListItemText primary={displayName} primaryTypographyProps={{ style: { overflow: "hidden", textOverflow: "ellipsis" } }}/> <ListItemText primary={displayName} primaryTypographyProps={{ style: { overflow: "hidden", textOverflow: "ellipsis" } }}/>
@ -304,6 +305,8 @@ const SubscriptionItem = (props) => {
<IconButton size="small" onMouseDown={(e) => e.stopPropagation()} onClick={(e) => setMenuAnchorEl(e.currentTarget)}> <IconButton size="small" onMouseDown={(e) => e.stopPropagation()} onClick={(e) => setMenuAnchorEl(e.currentTarget)}>
<MoreVert fontSize="small"/> <MoreVert fontSize="small"/>
</IconButton> </IconButton>
</ListItemIcon>
</ListItemButton>
<Portal> <Portal>
<SubscriptionPopup <SubscriptionPopup
subscription={subscription} subscription={subscription}
@ -311,8 +314,7 @@ const SubscriptionItem = (props) => {
onClose={() => setMenuAnchorEl(null)} onClose={() => setMenuAnchorEl(null)}
/> />
</Portal> </Portal>
</ListItemIcon> </>
</ListItemButton>
); );
}; };