mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(): menu button and nav overflow
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -9,6 +9,7 @@ ion-nav {
|
||||
|
||||
z-index: $z-index-page-container;
|
||||
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user