I am trying to create a page with two tabs. I put a navbar into the footer area and by clicking the buttons on the navbar I can navigate between pages but this is far from being optimal for our scenario. If the user switches between the tabs multiple times, the browser saves all the history for these navigation activities and the user has to tap back button several times to return to home screen. Yes I know I can put a Back button to the header and return the user to the home screen with a single tap but handling the back button issue is more important right now.
Is there a way to create a tab bar that doesn't switch pages asynchronously? All I need is a navbar that hides or shows the content when one of the buttons are clicked. Or should I hide or show inner content manually?