title: React native Scrollview/flex layout behaves inconsistent after minimizing the app on Android
body: <p>I’m taking my first step in react native land and trying to understand the layouting in regards to the soft keyboard.</p>
  
  <p>I’ve created a new react project via rect-native init and written the following component:</p>
  
  <pre><code>&lt;ScrollView style={{flex: 1}} contentContainerStyle={{flex: 1, borderColor: 'green', borderWidth: 10}}&gt;
    &lt;TextInput/&gt;
    &lt;View style={{flex: 1, borderColor: 'blue', borderWidth: 10}} /&gt;
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p>The result looks as expected and when I touch the input field the keyboard covers my view.
  However, if I minimise the app by pressing the square/overview button and then choose the app again the view will adapt it’s height so the keyboard doesn’t cover the view.</p>
  
  <p>My findings so far is that:
  - This only happens on Android</p>
  
  <ul>
  <li><p>This only happens if a scrollView is present</p></li>
  <li><p>Playing around with android:windowSoftInputMode in the android manifest doesn’t seem to affect the issue.</p></li>
  <li><p>I’ve tried react-native: 0.39.0 / react: 15.4.1 and react-native: 0.33.0 / react: ~15.3.0 and it’s present in both</p></li>
  <li><p>It’s however not reproducible in rnplay (0.33) : <a href="https://rnplay.org/apps/kr-OQw" rel="nofollow noreferrer">https://rnplay.org/apps/kr-OQw</a></p></li>
  <li><p>I’ve tried on a sony experia z5compact (android 6.0.1), nexus 5x and samsung galaxy s6 (android 6.0.1) and it’s present in all.</p></li>
  </ul>
  
  <p>I assume the resizing after minimising is an bug or am I missing something here? Is there a workaround to this issue?</p>
  
  <p><a href="https://i.stack.imgur.com/7XsLJ.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7XsLJ.gif" alt="Recording of issue (sorry for the quality and unfortunate looping"></a></p>