title: Auto scrolling when focus on TextInput in scrollview in react native
body: <p>I have used many TextInput within ScrollView. I want when focus on a TextInput then scroll to this TextInput automatically.
  My code is following:</p>
  
  <pre><code>&lt;View style = {{width: '100%', height: '85%'}}&gt;
      &lt;ScrollView showsVerticalScrollIndicator = {false} style = {{marginLeft: 10, marginRight: 10}} 
          keyboardShouldPersistTaps={true}
      &gt;
          &lt;KeyboardAvoidingView behavior={'padding'}&gt;
              &lt;View style = {styles.input_box}&gt;
                  &lt;TextInput underlineColorAndroid = 'transparent' style = {styles.input_style}/&gt;
              &lt;/View&gt;
              &lt;View style = {styles.input_box}&gt;
                  &lt;TextInput underlineColorAndroid = 'transparent' style = {styles.input_style}/&gt;
              &lt;/View&gt;
  
              ... ... ...
  
              &lt;View style = {styles.input_box}&gt;
                  &lt;TextInput underlineColorAndroid = 'transparent' style = {styles.input_style}/&gt;
              &lt;/View&gt;
          &lt;/KeyboardAvoidingView&gt;
      &lt;/ScrollView&gt;
  
  &lt;/View&gt;
  </code></pre>
  
  <p>When I tap a TextInput, don't auto scroll to this TextInput component. so when tap lower TextInput then keyboard cover this TextInput component. So user have to scroll up to see this TextInput component.</p>
  
  <p>Please anyone who know the way to fix this issue help me. Thanks so much.</p>