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); - } }, [] );