diff options
-rw-r--r-- | src/components/search/SearchBar.tsx | 1 | ||||
-rw-r--r-- | src/screens/search/SearchScreen.tsx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/components/search/SearchBar.tsx b/src/components/search/SearchBar.tsx index a711f8f8..3f666ef0 100644 --- a/src/components/search/SearchBar.tsx +++ b/src/components/search/SearchBar.tsx @@ -69,6 +69,7 @@ const SearchBar: React.FC<SearchBarProps> = ({ onSubmitEditing={handleSubmit} clearButtonMode="while-editing" autoCapitalize="none" + autoCorrect={false} {...{value, onChangeText, onFocus, onBlur}} /> </Animated.View> diff --git a/src/screens/search/SearchScreen.tsx b/src/screens/search/SearchScreen.tsx index 4505163c..9f98b4d7 100644 --- a/src/screens/search/SearchScreen.tsx +++ b/src/screens/search/SearchScreen.tsx @@ -113,6 +113,7 @@ const SearchScreen: React.FC = () => { setSearching(true); }; const handleBlur = () => { + setQuery(''); Keyboard.dismiss(); const topOutConfig = { duration: 180, |