From be7a7ebc3ca99437e1ef3a3119e3bfbf6005910d Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Mon, 20 Jul 2026 18:56:37 +0300 Subject: [PATCH] stop closing autocomplete on blur --- 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')}