Skip to content

Commit 17d7646

Browse files
authored
allow pressing enter on AI Search before loading is complete (#56310)
1 parent 6a94c3c commit 17d7646

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/search/components/input/SearchOverlay.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -481,9 +481,6 @@ export function SearchOverlay({
481481
}
482482
}
483483
} else if (event.key === 'Enter') {
484-
if (searchLoading) {
485-
return
486-
}
487484
event.preventDefault()
488485
let pressedGroupKey = SEARCH_OVERLAY_EVENT_GROUP
489486
let pressedGroupId = searchEventGroupId

0 commit comments

Comments
 (0)