-
Notifications
You must be signed in to change notification settings - Fork 25k
Closed
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
Inside of my index.ios.js, I've got this:
render() {
return (
<TabBarIOS
selectedTab={this.state.selectedTab}>
<TabBarItemIOS
name="search"
icon={require('image!search')}
selected={this.state.selectedTab === 'search'}
onPress={() => {
this.setState({
selectedTab: 'search'
});
}}>
<View>
<NavigatorIOS
ref="nav"
initialRoute={{
component: SearchScreen,
title: config.names.search,
}}
/>
</View>
</TabBarItemIOS>
</TabBarIOS>
);
}When the tab is selected, it does not display the NavigatorIOS correctly. The navigation bar appears at the top (and the navigator's initial route component does get mounted). However, it is not displayed at all. It's just a blank space inside.
When I try rendering the initial route component outside of the NavigatorIOS, it works just fine. Is this intended behavior?
Metadata
Metadata
Assignees
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.