fix(): menu button and nav overflow

This commit is contained in:
mhartington
2018-02-28 12:25:03 -05:00
parent 32c4cc3132
commit 0fcd34e464
2 changed files with 3 additions and 0 deletions

View File

@@ -40,6 +40,8 @@ export class MenuButton {
componentWillLoad() {
this.custom = this.el.childElementCount > 0;
const closestNav = this.el.closest('ion-nav');
closestNav.canGoBack() ? this.el.hidden = true : this.el.hidden = false;
}
render() {

View File

@@ -9,6 +9,7 @@ ion-nav {
z-index: $z-index-page-container;
overflow: hidden;
width: 100%;
height: 100%;