Scroll not working in flatlist in android but working fine in iOS
Opened this issue · 0 comments
Hi,
scroll not working in flatlist in android but working fine in iOS
here is my code
var list={
1,2,3,............,,50,51,52,53,54,55
}
<SwipeablePanel
fullWidth
showCloseButton={true}
//style={{ zIndex: 1 }}
panel_height={700}
closeRootStyle={{ backgroundColor: Theme.DividerColor }}
isActive={this.state.swipeablePanelActive}
onClose={this.closePanel}
onPressCloseButton={this.closePanel}>
<FlatList
//keyboardShouldPersistTaps='handled'
contentContainerStyle={{ paddingBottom: 100 }}
ListHeaderComponent={null}
ListFooterComponent={null}
scrollEnabled={true}
style={[styles.list, { height: Dimensions.get('window').height }]}
data={this.state.list? this.state.list : null}
renderItem={({ item, index, separators }) => (
<View style={{ marginTop: 40, top: 10 }}>
{index}
)}
/>
in it showing only 29 items, the rest of items not showing
can you please tell me the solution for this.
thank you