Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -268,14 +268,7 @@ export function ContextMenu({
height: '1px',
}}
/>
<PopoverContent
ref={menuRef}
align='start'
side='bottom'
sideOffset={4}
onPointerDownOutside={(e) => e.preventDefault()}
onInteractOutside={(e) => e.preventDefault()}
>
<PopoverContent ref={menuRef} align='start' side='bottom' sideOffset={4}>
{/* Back button - shown only when in a folder */}
<PopoverBackButton />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,11 @@ export function WorkspaceHeader({
}

/**
* Close context menu
* Close context menu and the workspace dropdown
*/
const closeContextMenu = () => {
setIsContextMenuOpen(false)
setIsWorkspaceMenuOpen(false)
}

/**
Expand Down