title: How to get onPress event from ScrollView Component in React Native
body: <p>I am new to <a href="https://facebook.github.io/react-native/" rel="nofollow">React Native</a>. I have an app with a <a href="https://facebook.github.io/react-native/docs/scrollview.html" rel="nofollow">ScrollView</a> component and several custom components inside it. I would like to trigger an onPressOut event from the ScrollView, so that when the user scrolls, and releases, the child components inside the ScrollView update their states. But, the ScrollView documentation does not include any press events: <a href="https://facebook.github.io/react-native/docs/scrollview.html" rel="nofollow">https://facebook.github.io/react-native/docs/scrollview.html</a></p>
  
  <p>Other things I tried:</p>
  
  <ul>
  <li>I tried wrapping the scrollview inside a <a href="https://facebook.github.io/react-native/docs/touchablewithoutfeedback.html#content" rel="nofollow">TouchableWithoutFeedback</a> component, when I do this, I get an error as soon as I try to scroll:</li>
  </ul>
  
  <blockquote>
    <p>2015-10-26 11:59:13.849
    [error][tid:com.facebook.React.ShadowQueue][RCTModuleMethod.m:60]
    Argument 0 (NSNumber) of RCTUIManager.measure must not be null
        2015-10-26 11:59:13.850 [error][tid:com.facebook.React.ShadowQueue][RCTModuleMethod.m:60]
    Argument 0 () of RCTUIManager.measure could not be processed.
    Aborting method call.</p>
  </blockquote>
  
  <p>No idea what that means...
  Any ideas? Thanks!</p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;View ref="theWrapperView" style={styles.theWrapperView}&gt;
              &lt;ScrollView 
                  onScroll={this.onScroll.bind(this)}
                  onMomentumScrollEnd={this.onScrollAnimationEnd.bind(this)}
  
                  style={styles.scrollView}
                  contentContainerStyle={styles.scrollViewContentContainer}
  
                  showsHorizontalScrollIndicator={true}
                  scrollEventThrottle={10}
                  pagingEnabled={true}
                  horizontal={true}
                  automaticallyAdjustContentInsets={false}
                  snapToAlignment={'center'}
                  snapToInterval={20}
                  zoomScale={1.5}
                  centerContent = {true}
  
              &gt;
                  {cards}
              &lt;/ScrollView&gt;
          &lt;/View&gt;
  </code></pre>
  
  <p>When I change the View element to a TouchableWithoutFeedback element is when I get the error.</p>