title: Update scrollview when keyboard is open with React Native
body: <p>I would like to know how can I update scrollview when keyboard is open with React Native ?</p>
  
  <p>I try with "onContentSizeChange" in "ScrollView", it's okay, but when I open the keyboard, the scroll view isn't update (bottom) </p>
  
  <p>When I click on my input to send tape the text (1), the scrollview isn't update when the keyboard is open (2). I would like to update my scrollview (3).</p>
  
  <p><a href="https://i.stack.imgur.com/6MVF6.png" rel="noreferrer"><img src="https://i.stack.imgur.com/6MVF6.png" alt="enter image description here"></a></p>
  
  <blockquote>
    <p>MessageList.js</p>
  </blockquote>
  
  <pre><code>export default class MessageList extends React.Component {
      render() {
          return (
              &lt;View style={MessageListStyles.container}&gt;
                  &lt;ScrollView
                      ref={ref =&gt; this.scrollView = ref}
                      onContentSizeChange={(contentWidth, contentHeight)=&gt;{
                          this.scrollView.scrollToEnd({animated: true});
                      }}
                      contentContainerStyle={{
                          flexGrow: 1,
                          justifyContent: 'space-between'
                      }}&gt;
                        &lt;Message sender="bot" /&gt;
                        &lt;Message sender="bot" /&gt;
                        &lt;Message sender="bot" /&gt;
                        &lt;Message sender="bot" /&gt;
                        &lt;Message sender="bot" /&gt;
                        &lt;Message sender="bot" /&gt;
                        &lt;Message sender="bot" /&gt;
                  &lt;/ScrollView&gt;
              &lt;/View&gt;
          );
      }
  }
  </code></pre>