title: React native: Scroll view refresh control pull to refresh not refreshing from top
body: <p>I have added pull to refresh inside web view using scroll view. It is working but the condition is that pull to refresh should only work when we are at the top of the page inside web view. Here is my code</p>
  <pre><code>&lt;ScrollView
    contentContainerStyle={{flex: 1}}
    refreshControl={
      &lt;RefreshControl
        refreshing={refreshing}
        onRefresh={onRefresh}
      /&gt;
    }
  &gt;
  &lt;WebView scalesPageToFit
      startInLoadingState
      ref = {webViewRef}
      originWhitelist={['*']}
      style={{ flex: 1 }} source={{ uri: url  }} onLoadStart={() =&gt; (setLoading(true))} onLoadEnd={() =&gt; (setLoading(false))}
      javaScriptEnabled={true}
      domStorageEnabled={true}
      setSupportMultipleWindows={false}
      /&gt;
      &lt;/ScrollView&gt;
  </code></pre>