{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic/issues/3708","repository_url":"https://api.github.com/repos/driftyco/ionic","labels_url":"https://api.github.com/repos/driftyco/ionic/issues/3708/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic/issues/3708/comments","events_url":"https://api.github.com/repos/driftyco/ionic/issues/3708/events","html_url":"https://github.com/driftyco/ionic/issues/3708","id":75631568,"number":3708,"title":"bug: ion-nav-bar hide-nav-bar=\"true\" affects all views","user":{"login":"nickcmaynard","id":1984684,"avatar_url":"https://avatars.githubusercontent.com/u/1984684?v=3","gravatar_id":"","url":"https://api.github.com/users/nickcmaynard","html_url":"https://github.com/nickcmaynard","followers_url":"https://api.github.com/users/nickcmaynard/followers","following_url":"https://api.github.com/users/nickcmaynard/following{/other_user}","gists_url":"https://api.github.com/users/nickcmaynard/gists{/gist_id}","starred_url":"https://api.github.com/users/nickcmaynard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickcmaynard/subscriptions","organizations_url":"https://api.github.com/users/nickcmaynard/orgs","repos_url":"https://api.github.com/users/nickcmaynard/repos","events_url":"https://api.github.com/users/nickcmaynard/events{/privacy}","received_events_url":"https://api.github.com/users/nickcmaynard/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ionic/labels/animation","name":"animation","color":"eb6420"},{"url":"https://api.github.com/repos/driftyco/ionic/labels/navigation","name":"navigation","color":"eb6420"},{"url":"https://api.github.com/repos/driftyco/ionic/labels/needs%20reply","name":"needs reply","color":"ededed"},{"url":"https://api.github.com/repos/driftyco/ionic/labels/ready","name":"ready","color":"ededed"},{"url":"https://api.github.com/repos/driftyco/ionic/labels/v1","name":"v1","color":"888888"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2015-05-12T14:58:22Z","updated_at":"2016-08-23T01:43:13Z","closed_at":"2016-03-28T16:27:45Z","body":"**Type**: <span ionic-type>bug</span>\r\n\r\n**Platform**: <span ionic-platform>all</span>  \r\n\r\n<span ionic-description>The has-header class is added/removed from all views during transition, not just from the view with the hidden header.\r\n\r\nThis causes a layout call to a view that shouldn't be affected.\r\n\r\nThis issue can be seen easily here:\r\nhttp://codepen.io/mhartington/pen/qEgRLK\r\n\r\nWhen \"Scientific facts\" is clicked, the content of the Home view \"jumps\" up as its padding is removed.\r\n\r\nhas-header should continue to be applied to views that do not have hide-nav-bar=\"true\". \r\n\r\nTo work around this in the short term, I've used these CSS rules:\r\n```css\r\n/* Work around issue with flickering while showing/hiding the nav bar */\r\nion-nav-view ion-view:not([hide-nav-bar=\"true\"]) ion-content {\r\n    top: 44px;\r\n}\r\nion-nav-view ion-view[hide-nav-bar=\"true\"] ion-content {\r\n    top: 0;\r\n}\r\n.platform-ios.platform-cordova:not(.fullscreen) ion-nav-view ion-view:not([hide-nav-bar=\"true\"]) ion-content {\r\n    top: 64px;\r\n}\r\n.platform-ios.platform-cordova:not(.fullscreen) ion-nav-view ion-view[hide-nav-bar=\"true\"] ion-content {\r\n    top: 22px;\r\n}\r\n```\r\n</span>\r\n\r\n<span is-issue-template></span>"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic/issues/comments/241602997","html_url":"https://github.com/driftyco/ionic/issues/3708#issuecomment-241602997","issue_url":"https://api.github.com/repos/driftyco/ionic/issues/3708","id":241602997,"user":{"login":"xumingxin7398","id":7893611,"avatar_url":"https://avatars.githubusercontent.com/u/7893611?v=3","gravatar_id":"","url":"https://api.github.com/users/xumingxin7398","html_url":"https://github.com/xumingxin7398","followers_url":"https://api.github.com/users/xumingxin7398/followers","following_url":"https://api.github.com/users/xumingxin7398/following{/other_user}","gists_url":"https://api.github.com/users/xumingxin7398/gists{/gist_id}","starred_url":"https://api.github.com/users/xumingxin7398/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xumingxin7398/subscriptions","organizations_url":"https://api.github.com/users/xumingxin7398/orgs","repos_url":"https://api.github.com/users/xumingxin7398/repos","events_url":"https://api.github.com/users/xumingxin7398/events{/privacy}","received_events_url":"https://api.github.com/users/xumingxin7398/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T01:43:13Z","updated_at":"2016-08-23T01:43:13Z","body":"This issue is still present in 1.3.4 and it looks like the stylesheet fix does no longer work."}}
{"actor":{"display_login":"xumingxin7398"}}