我的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>