I have two forms in react-native. One of the works perfectly, the other (in another component) has a bug. The TextInput
s in the form keep blurring when getting focus.
The video I made (see gif below) shows that whenever I click in the input it gets focus and then immediately blurs right after it.
The code for the input (now with debugs):
<TextInput value={group.name}
blurOnSubmit={false}
onBlur={() => console.log('I blur')}
onFocus={() => console.log('I focus')}
autoFocus={true} style={styles.textInput} />