Skip to content

Commit efa191b

Browse files
authored
fix: context-menu modal bug (#22)
1 parent 09ee2df commit efa191b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/databrowser/components/item-context-menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const ItemContextMenu = ({
4646
setAlertOpen(false)
4747
}}
4848
/>
49-
<ContextMenu>
49+
<ContextMenu modal={false}>
5050
<ContextMenuTrigger
5151
asChild
5252
// NOTE: We did not put the ContextMenu on every key because of performance reasons

src/components/databrowser/components/sidebar-context-menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const SidebarContextMenu = ({ children }: PropsWithChildren) => {
2929
setAlertOpen(false)
3030
}}
3131
/>
32-
<ContextMenu>
32+
<ContextMenu modal={false}>
3333
<ContextMenuTrigger
3434
// NOTE: We did not put the ContextMenu on every key because of performance reasons
3535
onContextMenu={(e) => {

0 commit comments

Comments
 (0)