i have the a similar navigation bar which contains pages like this
the tabs are (profile-tasks-homepage- another page-another page)
when i am in the homepage, i can navigate to categories, and from there i can navigate to each category’s details (these are not in the nav bar).
now if i switch to the tasks tab and then switched again to the homepage it directs me to the last page i was on which is (details screen inside category page). the expected behavior is to transfer me to the homepage and not any inner page.
how can i fix this, each tab in the nav bar should link to one page only no matter if i opened any inner screen inside the tab. am i missing something?
thanks