From f5ca3fbca65e2f583ef7ffa04d0714c4ce7573f5 Mon Sep 17 00:00:00 2001 From: GarvitDadheech Date: Sun, 28 Jul 2024 00:46:32 +0530 Subject: [PATCH] update dropdown --- src/shared/components/query/StudySearch.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/shared/components/query/StudySearch.tsx b/src/shared/components/query/StudySearch.tsx index 56ade8f6044..5c9130eebdd 100644 --- a/src/shared/components/query/StudySearch.tsx +++ b/src/shared/components/query/StudySearch.tsx @@ -48,11 +48,7 @@ export const StudySearch: FunctionComponent = observer( const onKeyDownSearchBox = useCallback( (e: React.KeyboardEvent) => { - if ([13, 27].includes(e.keyCode)) { store.setMenuOpen(false); - } else { - store.setMenuOpen(true); - } }, [] );