fix(menu): fix swipe to go back and left menu conflict

Closes #5575
This commit is contained in:
Adam Bradley
2016-05-19 23:11:36 -05:00
parent b742e1f0da
commit f18a62485d
7 changed files with 48 additions and 21 deletions

View File

@ -156,6 +156,12 @@ export class MenuController {
return Promise.resolve(false);
}
tempDisable(temporarilyDisable: boolean) {
this._menus.forEach(menu => {
menu.tempDisable(temporarilyDisable);
});
}
/**
* Toggle the menu. If it's closed, it will open, and if opened, it
* will close.