I have an Ionic 2 side menu app. When I toggle the menu it pops out, and when toggeling it again it disappears but makes a gap between the header and the content (on the left side).
Does anyone know why this happens ?
Also after doing some interaction on the page (a button click), the gap disappears.
答案 0 :(得分:0)
你是如何使用菜单的?你能包括你的代码吗? 如何关闭菜单功能隐藏菜单无间隙 for Examle:
constructor(public platform: Platform, public menu: MenuController)
openPage(page) {
// close the menu when clicking a link from the menu
this.menu.close();
this.nav.push(page.component);
}