mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 10:41:13 +08:00
fix(hydrate): check for client runtime method (#18866)
This commit is contained in:
@ -225,13 +225,15 @@ export class StackController {
|
|||||||
containerEl.appendChild(enteringEl);
|
containerEl.appendChild(enteringEl);
|
||||||
}
|
}
|
||||||
|
|
||||||
return containerEl.commit(enteringEl, leavingEl, {
|
if ((containerEl as any).commit) {
|
||||||
deepWait: true,
|
return containerEl.commit(enteringEl, leavingEl, {
|
||||||
duration: direction === undefined ? 0 : undefined,
|
deepWait: true,
|
||||||
direction,
|
duration: direction === undefined ? 0 : undefined,
|
||||||
showGoBack,
|
direction,
|
||||||
progressAnimation
|
showGoBack,
|
||||||
});
|
progressAnimation
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return Promise.resolve(false);
|
return Promise.resolve(false);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user