mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
fix(tabs): fullscreen
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user