title: React Native scroll view not showing
body: <p>I have a scroll view at the top level of the view hierarchy. I'm trying to get it to show its content but I haven't had any luck.</p>
  
  <p>I see that the documentation says scroll views need a bounded height to work. I can't seem to get it to have a bounded height. This is what I have so far.</p>
  
  <pre><code>'use strict';
  
  const React = require('react-native');
  const {
    StyleSheet,
    Text,
    View,
    BackAndroid,
    TextInput,
    TouchableNativeFeedback,
    ScrollView
  } = React;
  
  const ActionButton = require('./action-button'),
      Dimensions = require('Dimensions');
  
  module.exports = React.createClass({
    handleBackButtonPress () {
      if (this.props.navigator) {
        this.props.navigator.pop();
        return true;
      }
  
      return false;
    },
  
    componentWillMount () {
      BackAndroid.addEventListener('hardwareBackPress', this.handleBackButtonPress);
    },
  
    componentWillUnmount () {
      BackAndroid.removeEventListener('hardwareBackPress', this.handleBackButtonPress);
    },
  
    onInputFocus (refName) {
      setTimeout(() =&gt; {
        let scrollResponder = this.refs.getScrollResponder();
        scrollResponder.scrollNativeHandleToKeyboard(
          React.findNodeHandle(this.refs[refName]),
          110,
          true
        );
      }, 50);
    },
  
    render: function() {
      return (
        &lt;View style={styles.scrollWrapper}&gt;
          &lt;ScrollView ref='scrollView' style={styles.scroller}&gt;
            &lt;View style={styles.container}&gt;
              &lt;View style={styles.header}&gt;
                &lt;Text&gt;New Post&lt;/Text&gt;
  
                  &lt;View style={styles.actions}&gt;
                    &lt;ActionButton handler={this.handleBackButtonPress} icon={'fontawesome|close'}
                      size={15} width={15} height={15} /&gt;
                  &lt;/View&gt;
              &lt;/View&gt;
              &lt;View style={styles.content}&gt;
                &lt;TextInput underlineColorAndroid={'white'}
                  placeholder={'Who\'s your professor?'}
                  ref='professor'
                  onFocus={this.onInputFocus.bind(this, 'professor')}
                  /&gt;
  
                &lt;TextInput multiline={true}
                  underlineColorAndroid={'white'}
                  placeholder={'What do you think?'}
                  ref='post'
                  onFocus={this.onInputFocus.bind(this, 'post')}
                  /&gt;
              &lt;/View&gt;
              &lt;View style={styles.footer}&gt;
                &lt;TouchableNativeFeedback
                  background={TouchableNativeFeedback.SelectableBackground()}&gt;
  
                  &lt;View style={{width: 50, height: 25, backgroundColor: 'green'}}&gt;
                    &lt;Text&gt;Submit&lt;/Text&gt;
                  &lt;/View&gt;
                &lt;/TouchableNativeFeedback&gt;
              &lt;/View&gt;
            &lt;/View&gt;
          &lt;/ScrollView&gt;
        &lt;/View&gt;
      );
    }
  });
  
  const styles = StyleSheet.create({
    scrollWrapper: {
      flex: 1
    },
    scroller: {
      flex: 1
    },
    container: {
      flex: 1,
      flexDirection: 'column',
      justifyContent: 'flex-start',
      backgroundColor: 'white',
      padding: 5,
    },
    post: {
      flex: 1,
    },
    actions: {
      flex: 1,
      flexDirection: 'row',
      justifyContent: 'flex-end',
      alignSelf: 'center'
    },
    header: {
      flex: 1,
      position: 'absolute',
      top: 0,
      left: 0,
      right: 0,
      height: 35,
      padding: 5,
      flexDirection: 'row'
    },
    content: {
      flex: 1,
      position: 'absolute',
      top: 35
    },
    footer: {
      flex: 1,
      position: 'absolute',
      bottom: 0,
      left: 0,
      right: 0,
      height: 35
    }
  });
  </code></pre>
  
  <p><strong>EDIT:</strong> So I changed the background colors of all the components to something obvious. I was able to simplify the view, so now the ScrollView is the root of the component. The container view (the immediate child of the ScrollView) is the one who isn't filling all the available space. I'm still playing around with it but any help is much appreciated.</p>