# Tabs gone when i navigate to a page by sidemenu

**URL:** <https://forum.ionicframework.com/t/tabs-gone-when-i-navigate-to-a-page-by-sidemenu/125811>\
**Category:** ionic-v3\
**Created:** [March 25, 2018, 4:12am UTC](https://forum.ionicframework.com/t/tabs-gone-when-i-navigate-to-a-page-by-sidemenu/125811 "2018-03-25T04:12:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![firewallcj](https://avatars.discourse-cdn.com/v4/letter/f/97f17d/32.png) [@firewallcj](https://forum.ionicframework.com/u/firewallcj)\
**Post date:** [March 25, 2018, 4:12am UTC](https://forum.ionicframework.com/t/tabs-gone-when-i-navigate-to-a-page-by-sidemenu/125811/1 "2018-03-25T04:12:55Z")

</div>

Hi there,  
When i press on some option in my sidemenu, tabs gone. Ive something like that:

```auto
@Component({
  templateUrl: 'app.html'
})
export class MyApp {

  @ViewChild(Nav) nav: any;
  rootPage:any = TabsPage;
  activePage: any;

  pages: any;
 
constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) {
    platform.ready().then(() => {
      this.pages = [
        {title: 'Página Principal', component: HomePage},
        {title: 'Veg', component: VegetablesPage},
        {title: 'Herbs', component: HerbsPage},
        {title: 'Pests', component: PestsPage},
        {title: 'Definições', component: SettingsPage},
        {title: 'Reportar Erros', component: HelpPage},
        {title: 'Termos e Condições', component: TermsPage},
        {title: 'Politica de Privacidade', component: PrivacyPage},
        {title: 'Acerca', component: AboutPage},
      ];

      this.activePage = this.pages[0];

      // Okay, so the platform is ready and our plugins are available.
      // Here you can do any higher level native things you might need.
      statusBar.styleDefault();
      splashScreen.hide();
    });
  }

  openPage(page){
    this.nav.setRoot(page.component);
    this.activePage = page;
  }

  checkActive(page){
    return page == this.activePage;
  }
}

```

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:43pm UTC](https://forum.ionicframework.com/t/tabs-gone-when-i-navigate-to-a-page-by-sidemenu/125811/2 "2021-07-19T21:43:53Z")

</div>

Closed on July 19, 2021, 9:43pm UTC


