mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-24 07:29:30 +01:00
web: fix context menu not opening on attachments
This commit is contained in:
@@ -132,6 +132,7 @@ export function Attachment({
|
||||
sx={{ height: 30, ":hover": { bg: "hover" } }}
|
||||
onContextMenu={(e) => {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
Menu.openMenu(AttachmentMenuItems(item, status));
|
||||
}}
|
||||
onClick={onSelected}
|
||||
|
||||
Reference in New Issue
Block a user