React native - 禁用单向滚动

时间:2017-03-09 19:46:46

标签: javascript reactjs react-native

有没有办法在反应原生(iOS)中禁用一个ScrollView?

我的意思是我只需要拉下来刷新,但我也可以拉起来。 我想禁用上拉。

  <ScrollView

                        refreshControl={
                            <RefreshControl
                                refreshing={this.state.isRefreshing}
                                onRefresh={this._onRefresh}></RefreshControl>}
                        style={styles.container} contentContainerStyle={{flex: 1}}>

0 个答案:

没有答案