I currently have a sub-route in a tab:
/mytab
/mytab/subpage
So when I'm in the sub-page, click another tab and come back, I'll see the sub-page where I was before (default behavior).
I want to make it always show root page (not sub-page) when I click the tab button.
I tried changing button params tab='mytab'
to href='/mytab'
-- it worked but causes page refresh every time it clicks.
<ion-tab-button href="/tabs/mytab">
<ion-icon name="ios-list"></ion-icon>
<ion-label>mytab</ion-label>
</ion-tab-button>
Is there any other way to reach that?