{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/1555","labels_url":"https://api.github.com/repos/facebook/react-native/issues/1555/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/1555/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/1555/events","html_url":"https://github.com/facebook/react-native/issues/1555","id":86113609,"number":1555,"title":"[Navigator] initialRoute vs initialRouteStack after update to 0.5.0","user":{"login":"JonasJonny","id":1771823,"avatar_url":"https://avatars.githubusercontent.com/u/1771823?v=3","gravatar_id":"","url":"https://api.github.com/users/JonasJonny","html_url":"https://github.com/JonasJonny","followers_url":"https://api.github.com/users/JonasJonny/followers","following_url":"https://api.github.com/users/JonasJonny/following{/other_user}","gists_url":"https://api.github.com/users/JonasJonny/gists{/gist_id}","starred_url":"https://api.github.com/users/JonasJonny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonasJonny/subscriptions","organizations_url":"https://api.github.com/users/JonasJonny/orgs","repos_url":"https://api.github.com/users/JonasJonny/repos","events_url":"https://api.github.com/users/JonasJonny/events{/privacy}","received_events_url":"https://api.github.com/users/JonasJonny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-08T10:07:04Z","updated_at":"2015-07-20T20:54:53Z","closed_at":null,"body":"Hello,\r\nI had working Navigation but after update to 0.5.0 version I have just blank screen.\r\n\r\nI found out if I remove \"initialRouteStack={ROUTE_STACK}\" from Navigator then my first INIT_ROUTE_INDEX route/component in ROUTE_STACK {name: 'HomeNavigator', component: HomeNavigator, index: 0} is loaded fine. \r\n\r\n(Of course then I have missing \"Invariant Violation: Cannot jump to route that is not in the route stack\" if any other tab is selected.)\r\n\r\nThank you for any help.\r\ncc @ericvicenti, @vjeux, @ide, @brentvatne \r\n\r\n```\r\nvar NavigationBar = require('react-native-navbar');\r\n\r\nvar ROUTE_STACK = [\r\n    {name: 'HomeNavigator', component: HomeNavigator, index: 0},\r\n    {name: 'SearchNavigator', component: SearchNavigator, index: 1},\r\n    {name: 'ActivityNavigator', component: ActivityNavigator, index: 2},\r\n    {name: 'ProfileNavigator', component: ProfileNavigator, index: 3},\r\n];\r\nvar INIT_ROUTE_INDEX = 0;\r\n```\r\n```\r\nclass MainScreen extends Component {\r\n\r\n    constructor(props) {\r\n        super(props);\r\n        this.state = {\r\n            isAnimating: 0,\r\n        };\r\n    }\r\n\r\n    render() {\r\n\r\n        return (\r\n            <Navigator\r\n                ref={(navigator) => {\r\n                  this._navigator = navigator;\r\n                }}\r\n                renderScene={this.renderScene.bind(this)}\r\n                initialRoute={ROUTE_STACK[INIT_ROUTE_INDEX]}\r\n                initialRouteStack={ROUTE_STACK}\r\n                configureScene={(route) => {\r\n                      if (route.sceneConfig) {\r\n                        return route.sceneConfig;\r\n                      }\r\n                      return Navigator.SceneConfigs.FloatFromRight;\r\n                    }}\r\n                navigationBar={\r\n                        <Tabs\r\n                            ref={(navBar) => { this.navBar = navBar; }}\r\n                            navigator={this._navigator}\r\n                            route={this.route}\r\n                            onTabIndex={(index) => {\r\n                                this._navigator.jumpTo(ROUTE_STACK[index]);\r\n                            }}\r\n                        />\r\n                    }\r\n                />\r\n        );\r\n    }\r\n\r\nrenderScene(route, navigator) {\r\n\r\n        console.log('1-route', route);\r\n        console.log('1-navigator', navigator);\r\n        console.log('1-this.state.tabIndex', this.state.tabIndex);\r\n     \r\n        var Component = route.component;\r\n\r\n        return (\r\n            <View style={styles.container}>\r\n                <Component {...route.passProps} navigator={navigator} route={route}/>\r\n            </View>\r\n        );\r\n    }\r\n}\r\n\r\n- - -\r\n// style\r\ncontainer: {\r\n   flex: 1,\r\n   backgroundColor: '#ebebeb',\r\n},"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/123034468","html_url":"https://github.com/facebook/react-native/issues/1555#issuecomment-123034468","issue_url":"https://api.github.com/repos/facebook/react-native/issues/1555","id":123034468,"user":{"login":"JonasJonny","id":1771823,"avatar_url":"https://avatars.githubusercontent.com/u/1771823?v=3","gravatar_id":"","url":"https://api.github.com/users/JonasJonny","html_url":"https://github.com/JonasJonny","followers_url":"https://api.github.com/users/JonasJonny/followers","following_url":"https://api.github.com/users/JonasJonny/following{/other_user}","gists_url":"https://api.github.com/users/JonasJonny/gists{/gist_id}","starred_url":"https://api.github.com/users/JonasJonny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonasJonny/subscriptions","organizations_url":"https://api.github.com/users/JonasJonny/orgs","repos_url":"https://api.github.com/users/JonasJonny/repos","events_url":"https://api.github.com/users/JonasJonny/events{/privacy}","received_events_url":"https://api.github.com/users/JonasJonny/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T20:54:52Z","updated_at":"2015-07-20T20:54:52Z","body":"It's not a navigation issue. The problem is flexWrap: 'wrap' on ListView."}}