{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/5568","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/5568/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/5568/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/5568/events","html_url":"https://github.com/driftyco/ionic/issues/5568","id":135690822,"number":5568,"title":"Ionic2 custom navbar on single page sticks to other pages (for tab pages only)","user":{"login":"Yagger","id":1056226,"avatar_url":"https://avatars.githubusercontent.com/u/1056226?v=3","gravatar_id":"","url":"https://api.github.com/users/Yagger","html_url":"https://github.com/Yagger","followers_url":"https://api.github.com/users/Yagger/followers","following_url":"https://api.github.com/users/Yagger/following{/other_user}","gists_url":"https://api.github.com/users/Yagger/gists{/gist_id}","starred_url":"https://api.github.com/users/Yagger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yagger/subscriptions","organizations_url":"https://api.github.com/users/Yagger/orgs","repos_url":"https://api.github.com/users/Yagger/repos","events_url":"https://api.github.com/users/Yagger/events{/privacy}","received_events_url":"https://api.github.com/users/Yagger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic/labels/header","name":"header","color":"207de5"},{"url":"https://api.github.com/repos/driftyco/ionic/labels/platform:ios","name":"platform:ios","color":"0052cc"},{"url":"https://api.github.com/repos/driftyco/ionic/labels/tabs","name":"tabs","color":"207de5"},{"url":"https://api.github.com/repos/driftyco/ionic/labels/v2","name":"v2","color":"313744"}],"state":"closed","locked":false,"assignee":{"login":"adamdbradley","id":452425,"avatar_url":"https://avatars.githubusercontent.com/u/452425?v=3","gravatar_id":"","url":"https://api.github.com/users/adamdbradley","html_url":"https://github.com/adamdbradley","followers_url":"https://api.github.com/users/adamdbradley/followers","following_url":"https://api.github.com/users/adamdbradley/following{/other_user}","gists_url":"https://api.github.com/users/adamdbradley/gists{/gist_id}","starred_url":"https://api.github.com/users/adamdbradley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamdbradley/subscriptions","organizations_url":"https://api.github.com/users/adamdbradley/orgs","repos_url":"https://api.github.com/users/adamdbradley/repos","events_url":"https://api.github.com/users/adamdbradley/events{/privacy}","received_events_url":"https://api.github.com/users/adamdbradley/received_events","type":"User","site_admin":false},"assignees":[{"login":"adamdbradley","id":452425,"avatar_url":"https://avatars.githubusercontent.com/u/452425?v=3","gravatar_id":"","url":"https://api.github.com/users/adamdbradley","html_url":"https://github.com/adamdbradley","followers_url":"https://api.github.com/users/adamdbradley/followers","following_url":"https://api.github.com/users/adamdbradley/following{/other_user}","gists_url":"https://api.github.com/users/adamdbradley/gists{/gist_id}","starred_url":"https://api.github.com/users/adamdbradley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamdbradley/subscriptions","organizations_url":"https://api.github.com/users/adamdbradley/orgs","repos_url":"https://api.github.com/users/adamdbradley/repos","events_url":"https://api.github.com/users/adamdbradley/events{/privacy}","received_events_url":"https://api.github.com/users/adamdbradley/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/driftyco/ionic/milestones/39","html_url":"https://github.com/driftyco/ionic/milestones/2.0.0-beta.10","labels_url":"https://api.github.com/repos/driftyco/ionic/milestones/39/labels","id":1578085,"number":39,"title":"2.0.0-beta.10","description":"Item Swipe Right, Reorder/delete in a list","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":0,"closed_issues":26,"state":"closed","created_at":"2016-02-11T16:38:52Z","updated_at":"2016-06-27T21:31:55Z","due_on":null,"closed_at":"2016-06-27T21:29:46Z"},"comments":2,"created_at":"2016-02-23T10:02:08Z","updated_at":"2016-06-29T15:08:08Z","closed_at":"2016-06-23T17:30:22Z","body":"#### Short description of the problem:\r\nDefining custom navbar with `*navbar` on a single page will make this custom navbar stick out from the standard navbar on other pages. (related to Tab Pages only).\r\n\r\n#### What behavior are you expecting?\r\nCustom navbar on a single page should only be present on that page and not affect the other tab pages.\r\n\r\n**Steps to reproduce:**\r\n1. Start ionic2 tabs starter project `ionic start TabsTest tabs --v2`\r\n2. Edit /project/root/app/pages/page1/page1.html and replace\r\n```\r\n<ion-navbar *navbar>\r\n  <ion-title>Tab 1</ion-title>\r\n</ion-navbar>\r\n```\r\nwith\r\n```\r\n<div *navbar style=\"width:100%;height:100px;background-color:yellowgreen\"></div>\r\n```\r\n3. Start ionic app with `ionic serve` and note that the first tab has our custom header as expected.\r\nScreenshot: https://www.evernote.com/l/AlooChyY8ipIU5Bk70rdo5i9kX1lc1VO0BY\r\n4. Click on tab2 and note that our custom header is sticking out from behind the standard header.\r\nScreenshot: https://www.evernote.com/l/AloHq4Vqb_lBdrCvw9AXHcsIeWliK0EGRfo\r\n\r\n**Ionic Version**: 2.x\r\n\r\n**Browser & Operating System**: Chrome\r\n\r\n\r\n**Run `ionic info` from terminal/cmd prompt:**\r\n\r\n```\r\nYour system information:\r\n\r\nCordova CLI: 5.4.1\r\nGulp version:  CLI version 3.9.0\r\nGulp local:\r\nIonic Version: 2.0.0-beta.1\r\nIonic CLI Version: 2.0.0-beta.17\r\nIonic App Lib Version: 2.0.0-beta.8\r\nios-deploy version: Not installed\r\nios-sim version: Not installed\r\nOS: Mac OS X El Capitan\r\nNode Version: v5.3.0\r\nXcode version: Xcode 7.2.1 Build version 7C1002\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/229386363","html_url":"https://github.com/driftyco/ionic/issues/5568#issuecomment-229386363","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/5568","id":229386363,"user":{"login":"Yagger","id":1056226,"avatar_url":"https://avatars.githubusercontent.com/u/1056226?v=3","gravatar_id":"","url":"https://api.github.com/users/Yagger","html_url":"https://github.com/Yagger","followers_url":"https://api.github.com/users/Yagger/followers","following_url":"https://api.github.com/users/Yagger/following{/other_user}","gists_url":"https://api.github.com/users/Yagger/gists{/gist_id}","starred_url":"https://api.github.com/users/Yagger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yagger/subscriptions","organizations_url":"https://api.github.com/users/Yagger/orgs","repos_url":"https://api.github.com/users/Yagger/repos","events_url":"https://api.github.com/users/Yagger/events{/privacy}","received_events_url":"https://api.github.com/users/Yagger/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T15:08:08Z","updated_at":"2016-06-29T15:08:08Z","body":"@jgw96, thanks for update! I confirm it works. So, the difference between the Navbar and the Toolbar is that Toolbar can be used as a subheader. It can also be used as the only header, to build custom navbar. The `*navbar` syntax is no more. Is it all correct?\r\n\r\nAlso, if I want to change the background of the toolbar, the good way to do it is to add CSS to `ion-navbar>.toolbar-background`?"}}
{"actor":{"display_login":"Yagger"}}