fix(vue): correctly determine leaving view when transitioning to a new instance of a previous page (#22655)

resolves #22654 resolves #22658
This commit is contained in:
Liam DeBeasi
2020-12-16 16:45:28 -05:00
committed by GitHub
parent 5c27dd8032
commit e3a05bfeb5
19 changed files with 290 additions and 693 deletions

View File

@ -15,7 +15,7 @@ export const createRouter = (opts: IonicVueRouterOptions) => {
const router = createVueRouter(routerOptions);
const ionRouter = createIonRouter(opts, router);
const viewStacks = createViewStacks();
const viewStacks = createViewStacks(router);
const oldInstall = router.install.bind(router);
router.install = (app: App) => {