fix: Fixed issue where clicking in file dialog context menu closed the dialog

This commit is contained in:
Aman Harwara
2023-06-30 19:51:08 +05:30
parent b032eb9c9b
commit 89849c9f90

View File

@@ -225,6 +225,7 @@ const FilePreviewModal = observer(({ application, viewControllerManager }: Props
align="start" align="start"
className="py-2" className="py-2"
overrideZIndex="z-modal" overrideZIndex="z-modal"
portal={false}
> >
<Menu a11yLabel="File context menu" isOpen={showOptionsMenu}> <Menu a11yLabel="File context menu" isOpen={showOptionsMenu}>
<FileMenuOptions <FileMenuOptions