mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 20:31:37 -05:00
Close menu when click outside
This commit is contained in:
@@ -2,7 +2,6 @@ import React, { useEffect, useState, useRef } from "react"
|
||||
import { getContextMenuOptions } from "../utils/mention-context"
|
||||
|
||||
interface ContextMenuProps {
|
||||
containerWidth: number
|
||||
onSelect: (type: string, value: string) => void
|
||||
searchQuery: string
|
||||
onMouseDown: () => void
|
||||
@@ -12,7 +11,6 @@ interface ContextMenuProps {
|
||||
}
|
||||
|
||||
const ContextMenu: React.FC<ContextMenuProps> = ({
|
||||
containerWidth,
|
||||
onSelect,
|
||||
searchQuery,
|
||||
onMouseDown,
|
||||
|
||||
Reference in New Issue
Block a user