"react-native": "0.48.4"
"react": "16.0.0-alpha.12"
"native-base": "2.3.3"
Flatlist (horizonatl) present inside the content must stretch to full height.
Flatlist wraps the height, without content it used to fill the whole height.
<Container style={{ marginTop: 22 }}>
<Header searchBar rounded>
<Item>
<Icon active name='search' />
<Input placeholder='Search' />
</Item>
<Button transparent>
<Text>Search</Text>
</Button>
</Header>
<Content style={{ flex: 1 }}>
<FlatList
data={this.state.items}
renderItem={this.renderRow.bind(this)}
keyExtractor={(item) => item.row._id}
horizontal
removeClippedSubviews={false}
style={{ flex: 1 }}
/>
</Content>
</Container>

Issue seen in Both
I tried,
style={{ flex: 1 }} contentContainerStyle={{ flex: 1 }} to Content.fixed it by adding,
contentContainerStyle={{ flexGrow: 1 }}
Thank you @gokulkulkarni1987. This was driving me nuts.
contentContainerStyle is not a documented property of <Content /> on the official docs.
And even the <Fab /> component documentation uses a plain <View /> instead of <Content /> which made it confusing.
@SupriyaKalghatgi Any reason contentContainerStyle isn't documented under the Anatomy section where Content is described?
@EvHaus About contentContainerStyle, yes we will add this
Sorry! missed this
@SupriyaKalghatgi please do so馃憤
@SupriyaKalghatgi
The property "contentContainerStyle" is not present on the documentation. Is there a plan to deprecate this?
Same Issue here. The solution proposed not working here...
setting contentContainerStyle to {flexGrow:1} no longer works ?
(Edit: Solution all the parent component should have a style of flex 1)
Most helpful comment
fixed it by adding,
contentContainerStyle={{ flexGrow: 1 }}