From df3482ae3586868690c9edc963448e66878038bf Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Mon, 18 Jan 2021 17:30:15 -0500 Subject: no autocorrect on search bar and auto clear on cancel --- src/components/search/SearchBar.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/components') 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 = ({ onSubmitEditing={handleSubmit} clearButtonMode="while-editing" autoCapitalize="none" + autoCorrect={false} {...{value, onChangeText, onFocus, onBlur}} /> -- cgit v1.2.3-70-g09d2