{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/7586","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/7586/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/7586/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/7586/events","html_url":"https://github.com/driftyco/ionic/issues/7586","id":169789801,"number":7586,"title":"bug: No Sidemenu on modal page","user":{"login":"mpaland","id":763140,"avatar_url":"https://avatars.githubusercontent.com/u/763140?v=3","gravatar_id":"","url":"https://api.github.com/users/mpaland","html_url":"https://github.com/mpaland","followers_url":"https://api.github.com/users/mpaland/followers","following_url":"https://api.github.com/users/mpaland/following{/other_user}","gists_url":"https://api.github.com/users/mpaland/gists{/gist_id}","starred_url":"https://api.github.com/users/mpaland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpaland/subscriptions","organizations_url":"https://api.github.com/users/mpaland/orgs","repos_url":"https://api.github.com/users/mpaland/repos","events_url":"https://api.github.com/users/mpaland/events{/privacy}","received_events_url":"https://api.github.com/users/mpaland/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic/labels/modals","name":"modals","color":"fbca04"},{"url":"https://api.github.com/repos/driftyco/ionic/labels/v2","name":"v2","color":"313744"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-07T10:16:28Z","updated_at":"2016-08-09T18:25:17Z","closed_at":"2016-08-09T18:25:17Z","body":"**Type**: <span ionic-type>bug</span>\n\n**Ionic Version**: <span ionic-version>2.x</span>\n\n**Platform**: <span ionic-platform>all</span>  \n\n<span ionic-description>Up to beta10 there was the possibility to present a modal page like this:\n```\nlet modal = new ViewController(ModalPage, this.params);\nthis.nav.present(modal);\n\nmodal.onDismiss((data: any) => {\n  if (data) {\n    console.log(data);\n  }\n});\n```\nWhy modal? Because of retrieving mandatory data from the modal page.\nProblem: The ModalPage used the sidemenu of the app - up to beta10. In beta11 the sidemenu does not open anymore.\nMeaning it opens but behind the modal page - which is an overlay now.\n\nIn beta 11 the nav.present() method is gone and got replaced by the (Modal)Controller.present().\n\nFor navigation is is required to use a sidemenu on a modal page. It is necessary to navigate from a modal page to a subpage via the sidemenu and navigate back to the modalpage which is dismissed then.\nTherefore I consider taking away the nav.present() method as a bad idea - knowing why and for what intention you did that.</span>\n\n<span is-issue-template></span>\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/238644982","html_url":"https://github.com/driftyco/ionic/issues/7586#issuecomment-238644982","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/7586","id":238644982,"user":{"login":"jgw96","id":8823093,"avatar_url":"https://avatars.githubusercontent.com/u/8823093?v=3","gravatar_id":"","url":"https://api.github.com/users/jgw96","html_url":"https://github.com/jgw96","followers_url":"https://api.github.com/users/jgw96/followers","following_url":"https://api.github.com/users/jgw96/following{/other_user}","gists_url":"https://api.github.com/users/jgw96/gists{/gist_id}","starred_url":"https://api.github.com/users/jgw96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgw96/subscriptions","organizations_url":"https://api.github.com/users/jgw96/orgs","repos_url":"https://api.github.com/users/jgw96/repos","events_url":"https://api.github.com/users/jgw96/events{/privacy}","received_events_url":"https://api.github.com/users/jgw96/received_events","type":"User","site_admin":false},"created_at":"2016-08-09T18:25:16Z","updated_at":"2016-08-09T18:25:16Z","body":"Hello! Thanks for opening an issue with us. So one of the main reasons we changed to our new overlay components api is that it matches native closer. In a native app with a sidemenu and modals (twitter for android, inbox by google are perfect examples) the sidemenu is not accessible from a modal. Because of this i would recommend either that you consider changing from using a modal to a page so that your user will still have access to the sidemenu or rethink the need for the user to have to use the sidemenu while in the modal. Sorry if this causes any hassle for you, but these changes were necessary to keep Ionic 2 more in line with native and what mobile users expect. Thanks for using Ionic!"}}
{"actor":{"display_login":"jgw96"}}