Skip to content

Commit

Permalink
(change): don't autocorrect search input
Browse files Browse the repository at this point in the history
- at least in my experience, I'm typing lots of japanese words, so
  the autocorrect gets in the way a lot
  - while it may be useful for some english words, I think the
    frustrating and annoying experience it gives for japanese words
    far outweighs the usefulness such that it should be disabled

- changing autocorrect to false also turns off the spellcheck, so
  no more red lines appearing in the input either
  • Loading branch information
agilgur5 committed Nov 24, 2019
1 parent 1405477 commit 4d55f85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/mainView.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ export default class MainView extends React.Component {
switch (section.title) {
case 'Search...':
return <TextInput style={styles.text} placeholder='Search...'
placeholderTextColor={styles.text.color} {...section.props} />
placeholderTextColor={styles.text.color} autoCorrect={false}
{...section.props} />
case 'Favorites':
return <Text style={styles.text}>Favorites</Text>
case 'Latest':
Expand Down

0 comments on commit 4d55f85

Please # to comment.