blur on submit

This commit is contained in:
Hailey
2024-04-26 13:33:31 -07:00
parent 556fb386c2
commit 907957ba45
+2
View File
@@ -572,6 +572,8 @@ export function SearchScreen(
) )
const onSubmit = React.useCallback(() => { const onSubmit = React.useCallback(() => {
textInput.current?.blur()
setInputIsFocused(false)
scrollToTopWeb() scrollToTopWeb()
updateSearchHistory(searchText) updateSearchHistory(searchText)