From 4d72ed73dd25b5338f58b2a7048981c909cf4e41 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Mon, 20 Jul 2026 19:44:17 +0300 Subject: [PATCH] Stop closing search suggestions on input blur (#11199) (cherry picked from commit 92ef1528bf4d982980b3bd16b3f90a9b32f217d4) --- src/screens/Search/Shell.tsx | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/screens/Search/Shell.tsx b/src/screens/Search/Shell.tsx index 951d415a87..681ee25273 100644 --- a/src/screens/Search/Shell.tsx +++ b/src/screens/Search/Shell.tsx @@ -474,17 +474,6 @@ export function SearchScreenShell({ } }, [setShowAutocomplete]) - const onSearchInputBlur = useCallback(() => { - /* - * Bind autocomplete visibility to focus state on native. On web this - * doesn't work because of focus management, which would render the - * autocomplete results uninteractable. - */ - if (IS_NATIVE) { - setShowAutocomplete(false) - } - }, []) - const focusSearchInput = useCallback( (tab?: TabParam) => { textInput.current?.focus() @@ -609,7 +598,6 @@ export function SearchScreenShell({ ref={textInput} value={searchText} onFocus={onSearchInputFocus} - onBlur={onSearchInputBlur} onChangeText={onChangeText} onClearText={onPressClearQuery} onSubmitEditing={onSubmit('typed')}