add comment back

This commit is contained in:
Hailey
2024-04-23 14:27:35 -07:00
parent 547404f29f
commit 781e806b22
+4 -3
View File
@@ -732,9 +732,10 @@ export function SearchScreen(
keyboardAppearance={theme.colorScheme}
onFocus={() => setInputIsFocused(true)}
onBlur={() => {
setTimeout(() => {
setInputIsFocused(Boolean(textInput.current?.isFocused()))
}, 100)
// HACK
// give 100ms to not stop click handlers in the search history
// -prf
setTimeout(() => setInputIsFocused(false), 100)
}}
onChangeText={onChangeText}
onSubmitEditing={onSubmit}