focus search input on soft reset in mobile (#5732)
This commit is contained in:
@@ -805,6 +805,7 @@ export function SearchScreen(
|
|||||||
} else {
|
} else {
|
||||||
setSearchText('')
|
setSearchText('')
|
||||||
navigation.setParams({q: ''})
|
navigation.setParams({q: ''})
|
||||||
|
textInput.current?.focus()
|
||||||
}
|
}
|
||||||
}, [navigation])
|
}, [navigation])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user