mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 05:21:52 +08:00
fix(nav): md ion-nav transition
This commit is contained in:
@ -71,6 +71,11 @@ function getIonPageElement(element: HTMLElement) {
|
|||||||
return ionPage;
|
return ionPage;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const ionNav = element.querySelector('ion-nav');
|
||||||
|
if (ionNav) {
|
||||||
|
return ionNav;
|
||||||
|
}
|
||||||
|
|
||||||
// idk, return the original element so at least something animates and we don't have a null pointer
|
// idk, return the original element so at least something animates and we don't have a null pointer
|
||||||
return element;
|
return element;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user