mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
fix(nav): md ion-nav transition
This commit is contained in:
@ -71,6 +71,11 @@ function getIonPageElement(element: HTMLElement) {
|
||||
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
|
||||
return element;
|
||||
}
|
||||
|
Reference in New Issue
Block a user