fix(tabs): preserve route navigation extras when changing tabs (#18493)

fixes #18717
This commit is contained in:
James Manners
2019-12-12 02:46:14 +11:00
committed by Liam DeBeasi
parent b3b3312711
commit 4c8f32fae9
5 changed files with 174 additions and 13 deletions

View File

@@ -15,6 +15,8 @@
</p>
<p>
<ion-button routerLink="/tabs/account/nested/1" id="goto-tab1-page2">Go to Page 2</ion-button>
<ion-button routerLink="/tabs/account/nested/1" [queryParams]="{search:'hello'}" fragment="fragment"
id="goto-nested-page1-with-query-params">Go to Page 2 with Query Params</ion-button>
<ion-button routerLink="/tabs/lazy/nested" id="goto-tab3-page2">Go to Tab 3 - Page 2</ion-button>
<ion-button routerLink="/nested-outlet/page" id="goto-nested-page1">Go to nested</ion-button>
</p>