{"action":"closed","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/8510","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/8510/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/8510/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/8510/events","html_url":"https://github.com/driftyco/ionic/issues/8510","id":181164854,"number":8510,"title":"bug: Page pushed from root page causes it to be blank","user":{"login":"ThorConzales","id":9930079,"avatar_url":"https://avatars.githubusercontent.com/u/9930079?v=3","gravatar_id":"","url":"https://api.github.com/users/ThorConzales","html_url":"https://github.com/ThorConzales","followers_url":"https://api.github.com/users/ThorConzales/followers","following_url":"https://api.github.com/users/ThorConzales/following{/other_user}","gists_url":"https://api.github.com/users/ThorConzales/gists{/gist_id}","starred_url":"https://api.github.com/users/ThorConzales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThorConzales/subscriptions","organizations_url":"https://api.github.com/users/ThorConzales/orgs","repos_url":"https://api.github.com/users/ThorConzales/repos","events_url":"https://api.github.com/users/ThorConzales/events{/privacy}","received_events_url":"https://api.github.com/users/ThorConzales/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic/labels/v2","name":"v2","color":"313744"}],"state":"closed","locked":false,"assignee":{"login":"manucorporat","id":127379,"avatar_url":"https://avatars.githubusercontent.com/u/127379?v=3","gravatar_id":"","url":"https://api.github.com/users/manucorporat","html_url":"https://github.com/manucorporat","followers_url":"https://api.github.com/users/manucorporat/followers","following_url":"https://api.github.com/users/manucorporat/following{/other_user}","gists_url":"https://api.github.com/users/manucorporat/gists{/gist_id}","starred_url":"https://api.github.com/users/manucorporat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manucorporat/subscriptions","organizations_url":"https://api.github.com/users/manucorporat/orgs","repos_url":"https://api.github.com/users/manucorporat/repos","events_url":"https://api.github.com/users/manucorporat/events{/privacy}","received_events_url":"https://api.github.com/users/manucorporat/received_events","type":"User","site_admin":false},"assignees":[{"login":"manucorporat","id":127379,"avatar_url":"https://avatars.githubusercontent.com/u/127379?v=3","gravatar_id":"","url":"https://api.github.com/users/manucorporat","html_url":"https://github.com/manucorporat","followers_url":"https://api.github.com/users/manucorporat/followers","following_url":"https://api.github.com/users/manucorporat/following{/other_user}","gists_url":"https://api.github.com/users/manucorporat/gists{/gist_id}","starred_url":"https://api.github.com/users/manucorporat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manucorporat/subscriptions","organizations_url":"https://api.github.com/users/manucorporat/orgs","repos_url":"https://api.github.com/users/manucorporat/repos","events_url":"https://api.github.com/users/manucorporat/events{/privacy}","received_events_url":"https://api.github.com/users/manucorporat/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-10-05T14:10:11Z","updated_at":"2016-10-08T16:12:42Z","closed_at":"2016-10-08T16:12:42Z","body":"\r\n\r\n**Type**: <span ionic-type>bug</span>\r\n\r\n**Ionic Version**: <span ionic-version>2.0.0 RC0</span>\r\n\r\n**Platform**: <span ionic-platform>all</span>  \r\n\r\n<span ionic-description>When a new page is pushed from the root page's ionViewDidEnter event  in app startup then the new page is entirely blank.This is a desired behavior because I prefer this approach over switching root page in navController to switch between pages which might work better. ionViewDidEnter event is used because I assumed it is the last event in the initialization stack. When this call is wrapped inside a timeout delaying the action at least half a second then it works properly so it seems that not everything is properly set up when the ionViewDidEnter event hits. I also tried ionViewLoaded event but it yields the same result.\r\n\r\nHere is a demo project: https://drive.google.com/open?id=0BxT1AJ0A_TYORXQ3YXJxNXNkQUE\r\n\r\nCode if you don't want to download the project, put it into your root page:\r\n```\r\npublic ionViewDidEnter() {\r\n        this.navController.push(AboutPage);\r\n        //Setting it in timeout will work but it is also causing race condition which is not guaranteed to finish in correct order.\r\n        //setTimeout(() => this.navController.push(AboutPage), 1000);\r\n    }\r\n```\r\n</span>\r\n\r\n\r\n<span is-issue-template></span>\r\n"}}
{"actor":{"display_login":"manucorporat"}}