{"action":"opened","issue":{"url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/1149","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/1149/labels{/name}","comments_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/1149/comments","events_url":"https://api.github.com/repos/aksonov/react-native-router-flux/issues/1149/events","html_url":"https://github.com/aksonov/react-native-router-flux/issues/1149","id":175528219,"number":1149,"title":"Component from the previous scene when i push a new scene","user":{"login":"sarovin","id":5980398,"avatar_url":"https://avatars.githubusercontent.com/u/5980398?v=3","gravatar_id":"","url":"https://api.github.com/users/sarovin","html_url":"https://github.com/sarovin","followers_url":"https://api.github.com/users/sarovin/followers","following_url":"https://api.github.com/users/sarovin/following{/other_user}","gists_url":"https://api.github.com/users/sarovin/gists{/gist_id}","starred_url":"https://api.github.com/users/sarovin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarovin/subscriptions","organizations_url":"https://api.github.com/users/sarovin/orgs","repos_url":"https://api.github.com/users/sarovin/repos","events_url":"https://api.github.com/users/sarovin/events{/privacy}","received_events_url":"https://api.github.com/users/sarovin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-07T15:08:52Z","updated_at":"2016-09-07T15:08:52Z","closed_at":null,"body":"### Version\r\nTell us which versions you are using: \r\n\r\n- react-native-router-flux v3.31.2\r\n- react-native v0.32.0\r\n\r\n### Expected behaviour\r\n\r\nwhen i push a new scene, the previous scene must be unmounted.\r\n\r\n### Actual behaviour\r\n\r\nwhen i push a new scene, i can see element of the previous scene.\r\n\r\n### Steps to reproduce\r\n\r\nI have a scene with a Modal component as this.\r\n\r\n```javascript\r\n<View>\r\n  <Modal\r\n    animationType={'fade'}\r\n    transparent\r\n    visible={this.props.isWaiting}\r\n    onRequestClose={() => {\r\n      this.setState({\r\n        modalVisible: false,\r\n      });\r\n    }}\r\n  >\r\n    <ActivityIndicator\r\n      // ...\r\n    />\r\n  </Modal>\r\n  <View>\r\n    // ...\r\n  </View>\r\n</View>\r\n```\r\n\r\nP.S. this.props.isWaiting is a REDUX props.\r\n\r\nIn the second scene i don't have Modal but i see the modal when the REDUX Action set this.props.isWaiting at true because the previous scene is not unmounted, right?\r\n\r\nThere is a fix for this? I don't want to lost the backButton but i think that is a problem if i see the component of the previous scene.\r\n\r\n\r\n"}}
{"actor":{"display_login":"sarovin"}}