Reset tab navigation stack

I have an app that makes use of tabs, each one of them has the navigation shown below. I am looking for a way to set the root of Tab2’s navigation stack once i’ve left that tab (i.e. I clicked on Tab1 or Tab3), but without firing the initialisation of the “newly” root page (that is, not firing neither the constructor -in case of lazy loading-, nor the ionViewWillEnter / ionViewDidEnter methods).

Is there a way to do so?



I think that is the approach used in ionic2-super-tabs component, take a look at that or implement the tabs component by yourself using ngIf to show the tabs you want and firing the events you want, or you can pass a parameter to this tab2 to skip that methods execution :wink: