title: React Native TextInput returnKeyType not working
body: <p>I have a number of TextInput in my <code>react-native</code> application and I want that if user clicks on next key, the next input must be focused. I am trying to do this with returnKeyType prop passed to all the TextInput. However this doesn't work as intended ,i.e. next input is not focused. And my code for same looks like <br></p>
  <pre><code>&lt;TextInput
                ref={firstInputForDaysInterestTextInputRef}
                value={closingCosts.firstInputForDaysInterest}
                onChangeText={value =&gt;
                  onStateChange('firstInputForDaysInterest', value)
                }
                onEndEditing={event =&gt;
                  onEndEditing(
                    'firstInputForDaysInterest',
                    event.nativeEvent.text,
                  )
                }
                placeholderTextColor={colors.placeholderColor}
                placeholder={constants.common.zeroPlaceholder}
                autoCapitalize=&quot;none&quot;
                returnKeyType=&quot;next&quot;
                onFocus={() =&gt; onFocus(elementName)}
                keyboardType=&quot;decimal-pad&quot;
                style={[
                  styles.textInput,
                  styles.textInputWidth,
                  styles.textInputMargin,
                ]}
              /&gt;
  </code></pre>
  <p>The workaround that I thought was passing ref and then focusing the next input onEndEditing, but if I does this the textinput will not be closed when I tap outside the textInput. So how can I make my text input to focus on next one?</p>