diff --git a/components/dashboard/src/components/DropDown2.tsx b/components/dashboard/src/components/DropDown2.tsx index 1d9de85ce9d7de..3f634581eace1b 100644 --- a/components/dashboard/src/components/DropDown2.tsx +++ b/components/dashboard/src/components/DropDown2.tsx @@ -99,7 +99,7 @@ export const DropDown2: FunctionComponent = (props) => { e.preventDefault(); } } - if (e.key === " ") { + if (e.key === " " && search === "") { toggleDropDown(); e.preventDefault(); }