aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-01-18 17:30:15 -0500
committerIvan Chen <ivan@tagg.id>2021-01-18 17:30:15 -0500
commitdf3482ae3586868690c9edc963448e66878038bf (patch)
tree5599d2cf3b00c180f4ceba6b2692cd66e86efcfd /src/components
parent0aaef3893d589cb28f43362b9e4c50d14bfaa5f1 (diff)
no autocorrect on search bar and auto clear on cancel
Diffstat (limited to 'src/components')
-rw-r--r--src/components/search/SearchBar.tsx1
1 files changed, 1 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>