Reputation: 118
Can I render from Top when using FlatList inverted?
I was able to render from the top of an inverted list usinh a Flatlist for the method above. The Flashlist contentContainerStyle does not seem to support flexbox.
Upvotes: 0
Views: 672
Reputation: 21
Try this solution
<View style={this.props.alignTop ? styles.containerAlignTop : styles.container}>
// Flashlist
</View>
Style Sheet
containerAlignTop: {
flexDirection: 'row',
alignItems: 'flex-start',
}
Upvotes: 0