{"action":"closed","issue":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/1534","repository_url":"https://api.github.com/repos/aksonov/react-native-router-flux","labels_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/1534/labels{/name}","comments_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/1534/comments","events_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/1534/events","html_url":"https://github.com/aksonov/react-native-router-flux/issues/1534","id":200074125,"number":1534,"title":"conflicts with another child","user":{"login":"flaviotobi","id":13239857,"avatar_url":"https://avatars.githubusercontent.com/u/13239857?v=3","gravatar_id":"","url":"https://api.github.com/users/flaviotobi","html_url":"https://github.com/flaviotobi","followers_url":"https://api.github.com/users/flaviotobi/followers","following_url":"https://api.github.com/users/flaviotobi/following{/other_user}","gists_url":"https://api.github.com/users/flaviotobi/gists{/gist_id}","starred_url":"https://api.github.com/users/flaviotobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaviotobi/subscriptions","organizations_url":"https://api.github.com/users/flaviotobi/orgs","repos_url":"https://api.github.com/users/flaviotobi/repos","events_url":"https://api.github.com/users/flaviotobi/events{/privacy}","received_events_url":"https://api.github.com/users/flaviotobi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-11T11:55:05Z","updated_at":"2017-01-11T12:51:21Z","closed_at":"2017-01-11T12:51:21Z","body":"What happen, it's sometimes when i try to go from one scene to another, it get stuck at some scene, moves to other scene that isn't the one i ask. \r\n\r\n### Route\r\n```\r\n<Router  leftButtonIconStyle={styles.navbarDrawerLeftButton} >\r\n\r\n\r\n    <Scene key=\"root\" hideNavBar={true}>\r\n      <Scene key=\"login\"  component={Login}  store={authStore}   visible={false} hideNavBar={true}/>\r\n\r\n      <Scene key=\"choosePlayerFirst\"  component={ChoosePlayer}  hideNavBar={false} navigationBarStyle={styles.navBar} title={'Player List'} titleStyle={styles.navBarTitle} type={'replace'}/>\r\n\r\n      <Scene key=\"drawer\" component={Drawer} type=\"replace\" open={true}>\r\n        <Scene key=\"main\" hideTabBar={true}  >\r\n\r\n          <Scene  key=\"profile\" leftButtonStyle={styles.leftButtonDrawer} icon={TabIcon} navigationBarStyle={styles.navBar}  drawerImage={require('./components/img/menu.png')} backButtonImage={require('./components/img/backButton.png')} type={'replace'} >\r\n            <Scene key=\"profileMain\"   objecto={()=>this.getBool(true)} changeBoll={()=>this.changeBoll(true)} changeKey={'profileMain'}  component={Profile} title={I18n.t('profileViewTitle')} titleStyle={styles.navBarTitle}  renderRightButton={()=>this.renderRightButton('profile','profileMain')} type={'replace'}/>\r\n            <Scene key=\"profileTeamMain\" objecto={()=>this.getBool(false)} changeBoll={()=>this.changeBoll(false)} changeKey={'profileTeamMain'} component={Profile} title={I18n.t('profileViewTitle')} titleStyle={styles.navBarTitle}  renderRightButton={()=>this.renderRightButton('','profileTeamMain')} type={'replace'}/>\r\n            <Scene leftButtonStyle={styles.leftButtonBack} key=\"cameraPicker\" component={CameraPicker} title={I18n.t('selectAphoto')} titleStyle={styles.navBarTitle}/>\r\n          </Scene>\r\n\r\n          <Scene key=\"stats\" leftButtonStyle={styles.leftButtonDrawer} icon={TabIcon} navigationBarStyle={styles.navBar}  drawerImage={require('./components/img/menu.png')} backButtonImage={require('./components/img/backButton.png')} type={'replace'} >\r\n            <Scene key=\"statsMain\" objecto={()=>this.getBool(false)} changeBoll={()=>this.changeBoll(false)} changeKey={'statsMain'} component={Stats} title={I18n.t('statsViewTitle')} titleStyle={styles.navBarTitle}   renderRightButton={()=>this.renderRightButton('','statsMain')}/>\r\n          </Scene>\r\n\r\n          <Scene key=\"calendar\" leftButtonStyle={styles.leftButtonDrawer} icon={TabIcon} navigationBarStyle={styles.navBar}  drawerImage={require('./components/img/menu.png')} backButtonImage={require('./components/img/backButton.png')} type={'replace'}>\r\n            <Scene key=\"calendarMain\" objecto={()=>this.getBool(false)} changeBoll={()=>this.changeBoll(false)} changeKey={'calendarMain'} component={CalendarView} title={I18n.t('calendarTitle')} titleStyle={styles.navBarTitle}  renderRightButton={()=>this.renderRightButton('','calendarMain')}/>\r\n            <Scene key=\"agendaDetail\" component={Agenda} title={'Agenda'} titleStyle={styles.navBarTitle} />\r\n          </Scene>\r\n\r\n          <Scene  key=\"reports\" leftButtonStyle={styles.leftButtonDrawer} icon={TabIcon} navigationBarStyle={styles.navBar}  drawerImage={require('./components/img/menu.png')} backButtonImage={require('./components/img/backButton.png')}>\r\n            <Scene key=\"reportsMain\" objecto={()=>this.getBool(false)} changeBoll={()=>this.changeBoll(false)} changeKey={'reportsMain'}  component={Reports} title={I18n.t('reportsTitle')} titleStyle={styles.navBarTitle}  renderRightButton={()=>this.renderRightButton('','reportsMain')}/>\r\n            <Scene key=\"reportsDetail\" leftButtonStyle={styles.leftButtonBack} component={ReportsDetail} title={I18n.t('reportsDetailTitle')} titleStyle={styles.navBarTitle}  />\r\n          </Scene>\r\n\r\n          <Scene  key=\"TrainingSession\" leftButtonStyle={styles.leftButtonDrawer} icon={TabIcon} navigationBarStyle={styles.navBar}  drawerImage={require('./components/img/menu.png')} backButtonImage={require('./components/img/backButton.png')}>\r\n            <Scene key=\"TrainingSessionMain\" objecto={()=>this.getBool(false)} changeBoll={()=>this.changeBoll(false)} changeKey={'TrainingSessionMain'}  component={TrainingSession} title={'Training Sessions'} titleStyle={styles.navBarTitle}  renderRightButton={()=>this.renderRightButton('','TrainingSessionMain')}/>\r\n          </Scene>\r\n\r\n          <Scene navigationBarStyle={styles.navBar} backButtonImage={require('./components/img/backButton.png')} leftButtonStyle={styles.leftButtonBack} key=\"TrainingSessionDetail\"  component={TrainingSessionDetail} title={'ads'} titleStyle={styles.navBarTitle}/>\r\n          <Scene   navigationBarStyle={styles.navBar} backButtonImage={require('./components/img/backButton.png')} leftButtonStyle={styles.leftButtonBack} key=\"exercicesPlayer\"  component={ExercicePlayer} title={'ExercicePlayer'} titleStyle={styles.navBarTitle} renderRightButton={()=>this.renderExerciceRightButton()}/>\r\n          <Scene   navigationBarStyle={styles.navBar} backButtonImage={require('./components/img/backButton.png')} leftButtonStyle={styles.leftButtonBack} key=\"ExerciceDetail\"  component={ExerciceDetail} title={'ExerciceDetail'} titleStyle={styles.navBarTitle}/>\r\n\r\n          <Scene key=\"settings\" leftButtonStyle={styles.leftButtonDrawer} icon={TabIcon} navigationBarStyle={styles.navBar}  drawerImage={require('./components/img/menu.png')} backButtonImage={require('./components/img/backButton.png')} type={'replace'}>\r\n            <Scene key=\"settingsMain\" component={Settings} title={I18n.t('settingsTitle')} titleStyle={styles.navBarTitle} />\r\n          </Scene>\r\n\r\n        </Scene>\r\n      </Scene>\r\n    </Scene>\r\n  </Router>\r\n```\r\n### Log Error\r\n```\r\n{ [Invariant Violation: navigationState.children[5].key \"scene_1_TrainingSession\" conflicts withanother child!]\r\n\t  line: 2073,\r\n\t  column: 16,\r\n\t  sourceURL: 'http://localhost:8081/index.ios.bundle?platform=ios&dev=true&minify=false',\r\n\t  name: 'Invariant Violation',\r\n\t  framesToPop: 1 }\r\n```\r\n### Version\r\n- react-native-router-flux v^3.35.0\r\n- react-native v0.31.0\r\n\r\n### Actual behaviour\r\n\r\n\r\n![error](https://cloud.githubusercontent.com/assets/13239857/21847620/b55a4cbc-d7f4-11e6-8020-caa7f33e4da2.gif)\r\n\r\n### Steps to reproduce\r\nI Don't know how to reproduce\r\n\r\n"}}
{"actor":{"display_login":"flaviotobi"}}