mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-04 21:30:00 +08:00
fix(router): route change detection
This commit is contained in:
@ -6,7 +6,7 @@ export async function writeNavState(root: HTMLElement|undefined, chain: RouteCha
|
|||||||
|
|
||||||
// make sure we can continue interating the DOM, otherwise abort
|
// make sure we can continue interating the DOM, otherwise abort
|
||||||
if (!chain || index >= chain.length || !outlet) {
|
if (!chain || index >= chain.length || !outlet) {
|
||||||
return direction === 0;
|
return changed;
|
||||||
}
|
}
|
||||||
await outlet.componentOnReady();
|
await outlet.componentOnReady();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user