Commit a188c62e by tungnq

IMPORTANT: Đã xử lý vẫn đề không hỗ trợ flex wrap containerStyle trong flat list

parent fa940ddf
......@@ -66,7 +66,7 @@ const styles = StyleSheet.create({
},
//FlatList
flatList:{
height:200,
maxHeight:200,
backgroundColor:R.colors.blue1,
paddingHorizontal:10,
borderRadius:10,
......
......@@ -127,12 +127,13 @@ const NotificationDetailView = props => {
</View>
<View style={styles.flatList}>
<FlatList
nestedScrollEnabled
nestedScrollEnabled={true}
scrollEnabled={true}
data={dataList}
renderItem={renderItem}
keyExtractor={item => item.id}
numColumns={1}
contentContainerStyle={{flexDirection: 'row', flexWrap: 'wrap'}}
numColumns={2}
columnWrapperStyle={{flexWrap: 'wrap'}}
/>
</View>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment