focus search input on soft reset in mobile (#5732)

This commit is contained in:
rshigg
2024-11-25 18:34:06 -03:30
committed by GitHub
parent 61e97d6962
commit 56a88098d2
+1
View File
@@ -805,6 +805,7 @@ export function SearchScreen(
} else {
setSearchText('')
navigation.setParams({q: ''})
textInput.current?.focus()
}
}, [navigation])