fix(tabs): fullscreen

This commit is contained in:
Manu Mtz.-Almeida
2017-11-20 23:12:57 +01:00
parent 89aff89b7d
commit fbfa9d471f
5 changed files with 12 additions and 6 deletions

View File

@ -139,6 +139,10 @@ export function getParentElement(elm: any) {
}
export function getPageElement(el: HTMLElement) {
const tabs = el.closest('ion-tabs');
if (tabs) {
return tabs;
}
const page = el.closest('ion-page,.ion-page,page-inner');
if (page) {
return page;