如果在React Native Android中的水平平面列表行中添加WebView,则无法滚动

时间:2019-10-30 10:48:43

标签: react-native react-native-android

我遇到一种情况,需要在水平平面列表行中添加一个Webview。当我尝试水平滚动webview时,它将更改水平列表的行,但不允许在react-native android构建中滚动webview。但这可以在本机iOS版本上做出反应。如何在Android上启用WebView滚动?任何帮助,将不胜感激。这是我的代码-

<ScrollView style={styles.container}>
          <AppQuestionWebView
            style={styles.questionWebView}
            index={this.props.index}
            source={this.props.questionObject.processed_data.question}
            onStartLoad={this.onQuestionStartLoad}
            onEndLoad={this.onQuestionEndLoad}
          />
</ScrollView>

0 个答案:

没有答案