{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/6598","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/6598/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/6598/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/6598/events","html_url":"https://github.com/driftyco/ionic/issues/6598","id":156094460,"number":6598,"title":"<ion-navbar> inside Modal not working","user":{"login":"Inoverse","id":5436608,"avatar_url":"https://avatars.githubusercontent.com/u/5436608?v=3","gravatar_id":"","url":"https://api.github.com/users/Inoverse","html_url":"https://github.com/Inoverse","followers_url":"https://api.github.com/users/Inoverse/followers","following_url":"https://api.github.com/users/Inoverse/following{/other_user}","gists_url":"https://api.github.com/users/Inoverse/gists{/gist_id}","starred_url":"https://api.github.com/users/Inoverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Inoverse/subscriptions","organizations_url":"https://api.github.com/users/Inoverse/orgs","repos_url":"https://api.github.com/users/Inoverse/repos","events_url":"https://api.github.com/users/Inoverse/events{/privacy}","received_events_url":"https://api.github.com/users/Inoverse/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":"open","locked":false,"assignee":{"login":"danbucholtz","id":4680488,"avatar_url":"https://avatars.githubusercontent.com/u/4680488?v=3","gravatar_id":"","url":"https://api.github.com/users/danbucholtz","html_url":"https://github.com/danbucholtz","followers_url":"https://api.github.com/users/danbucholtz/followers","following_url":"https://api.github.com/users/danbucholtz/following{/other_user}","gists_url":"https://api.github.com/users/danbucholtz/gists{/gist_id}","starred_url":"https://api.github.com/users/danbucholtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbucholtz/subscriptions","organizations_url":"https://api.github.com/users/danbucholtz/orgs","repos_url":"https://api.github.com/users/danbucholtz/repos","events_url":"https://api.github.com/users/danbucholtz/events{/privacy}","received_events_url":"https://api.github.com/users/danbucholtz/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/driftyco/ionic/milestones/37","html_url":"https://github.com/driftyco/ionic/milestones/2.0.0-beta.8","labels_url":"https://api.github.com/repos/driftyco/ionic/milestones/37/labels","id":1576400,"number":37,"title":"2.0.0-beta.8","description":"Popover\r\n","creator":{"login":"brandyscarney","id":6577830,"avatar_url":"https://avatars.githubusercontent.com/u/6577830?v=3","gravatar_id":"","url":"https://api.github.com/users/brandyscarney","html_url":"https://github.com/brandyscarney","followers_url":"https://api.github.com/users/brandyscarney/followers","following_url":"https://api.github.com/users/brandyscarney/following{/other_user}","gists_url":"https://api.github.com/users/brandyscarney/gists{/gist_id}","starred_url":"https://api.github.com/users/brandyscarney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandyscarney/subscriptions","organizations_url":"https://api.github.com/users/brandyscarney/orgs","repos_url":"https://api.github.com/users/brandyscarney/repos","events_url":"https://api.github.com/users/brandyscarney/events{/privacy}","received_events_url":"https://api.github.com/users/brandyscarney/received_events","type":"User","site_admin":false},"open_issues":29,"closed_issues":14,"state":"open","created_at":"2016-02-10T20:18:59Z","updated_at":"2016-05-21T22:29:20Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2016-05-21T10:10:25Z","updated_at":"2016-05-23T16:04:39Z","closed_at":null,"body":"Since the beta 7 the <ion-navbar> is no longer working inside a modal page. I have to changed it to <ion-toolbar> to make it running. Don't know if it is a bug or just a change.\r\n\r\nStep to reproduce:\r\n1. Add new page component (call it for example modal.ts):\r\n```typescript\r\nimport {Page} from 'ionic-angular';\r\n\r\n@Page({\r\n  templateUrl: 'build/modal/modal.html',\r\n})\r\nexport class ModalSample {\r\n  constructor() {\r\n  }\r\n}\r\n```\r\n2. Add the related template file (modal.html):\r\n```html\r\n<ion-navbar *navbar primary>\r\n    <ion-title>Title</ion-title>\r\n</ion-navbar>\r\n\r\n<ion-content>\r\n    Test\r\n</ion-content>\r\n```\r\n3. Open the modal, for example like:\r\n```typescript\r\nimport {Page, NavController, Modal} from 'ionic-angular';\r\nimport {ModalSample} from './../../modal/modal';\r\n\r\n\r\n@Page({\r\n  templateUrl: 'build/pages/page1/page1.html',\r\n})\r\nexport class Page1 {\r\n  constructor(private nav: NavController) {\r\n    this.openModal();\r\n  }\r\n  \r\n  private openModal() {\r\n    let modal = Modal.create(ModalSample);\r\n    this.nav.present(modal);\r\n  }\r\n}\r\n```\r\n\r\n\r\nResult is, that the <ion.navbar> is not showing. Try editing the modal.html to <ion-toolbar> and it's working:\r\n```html\r\n<ion-toolbar primary>\r\n    <ion-title>Title</ion-title>\r\n</ion-toolbar>\r\n\r\n<ion-content>\r\n    Test\r\n</ion-content>\r\n```\r\n\r\nIs this a new bug in the beta or a change?"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/221018567","html_url":"https://github.com/driftyco/ionic/issues/6598#issuecomment-221018567","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/6598","id":221018567,"user":{"login":"Luchillo","id":9698639,"avatar_url":"https://avatars.githubusercontent.com/u/9698639?v=3","gravatar_id":"","url":"https://api.github.com/users/Luchillo","html_url":"https://github.com/Luchillo","followers_url":"https://api.github.com/users/Luchillo/followers","following_url":"https://api.github.com/users/Luchillo/following{/other_user}","gists_url":"https://api.github.com/users/Luchillo/gists{/gist_id}","starred_url":"https://api.github.com/users/Luchillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luchillo/subscriptions","organizations_url":"https://api.github.com/users/Luchillo/orgs","repos_url":"https://api.github.com/users/Luchillo/repos","events_url":"https://api.github.com/users/Luchillo/events{/privacy}","received_events_url":"https://api.github.com/users/Luchillo/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T16:04:39Z","updated_at":"2016-05-23T16:04:39Z","body":"@ciesielskico I added the toolbar and the back button by hand, now i can go back from modal, but the modal content is still blocked by the backdrop, yours work ok? i tested commenting all my css but it still has the backdrop blocking my user interactions."}}
{"actor":{"display_login":"Luchillo"}}