为什么反应本机的滚动视图不滚动在风景?

时间:2018-12-19 08:45:53

标签: react-native

我的scrollview在纵向模式下可以正常工作,但在横向模式下,它可以移除scrollview的某些项目,我的意思是它没有显示它包含的所有列表,您能帮我这是我的代码吗?

 <View style={{flex:1}}>
            <ScrollView contentContainerStyle={{flex: 1 }}>
            <FlatList 
            data = {this.state.data}
            renderItem = {this.renders}
            keyExtractor={() => Math.random() * 711 *3}
            ListEmptyComponent= {this.rendersEmpty(this.state.data)}
            extraData={this.state}
            />
          </ScrollView>
          </View>

0 个答案:

没有答案
相关问题