# Ionic Navigation with Nested Tabs

**URL:** <https://forum.ionicframework.com/t/ionic-navigation-with-nested-tabs/27774>\
**Category:** ionic-v1\
**Created:** [July 6, 2015, 2:25pm UTC](https://forum.ionicframework.com/t/ionic-navigation-with-nested-tabs/27774 "2015-07-06T14:25:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wwelchj](https://avatars.discourse-cdn.com/v4/letter/w/5e9695/32.png) [@wwelchj](https://forum.ionicframework.com/u/wwelchj)\
**Post date:** [July 6, 2015, 2:25pm UTC](https://forum.ionicframework.com/t/ionic-navigation-with-nested-tabs/27774/1 "2015-07-06T14:25:11Z")

</div>

Could someone give me a hint to using Ionic navigation with nested tabs? Let’s say I have a tab layout as below…

Tab A  
Tab A.1  
Tab A.2  
Tab B  
Tab B.1  
Tab B.2

If I navigate from Tab A.1/A.2/B.1/B.2 to another page, the back button does not show up. Do I just have something configured wrong? Or is this not a possible setup?

---

<div class="post-metadata">

**Author:** ![gmarziou](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/gmarziou/32/13327_2.png) [@gmarziou](https://forum.ionicframework.com/u/gmarziou)\
**Post date:** [July 6, 2015, 8:26pm UTC](https://forum.ionicframework.com/t/ionic-navigation-with-nested-tabs/27774/2 "2015-07-06T20:26:05Z")

</div>

[ion-tab doc](http://ionicframework.com/docs/api/directive/ionTab/) says: Each ionTab has its own view history.  
The behavior you see seems normal to me.

---

<div class="post-metadata">

**Author:** ![wwelchj](https://avatars.discourse-cdn.com/v4/letter/w/5e9695/32.png) [@wwelchj](https://forum.ionicframework.com/u/wwelchj)\
**Post date:** [July 8, 2015, 8:31pm UTC](https://forum.ionicframework.com/t/ionic-navigation-with-nested-tabs/27774/3 "2015-07-08T20:31:36Z")

</div>

Hi gmarziou,

Thank you for replying! I’m not saying it’s necessarily not the right behavior, I just wanted to check.

Basically, I have two sets of tabs, one up top and one on bottom, and navigation history isn’t working the way I’d expect – navigating from the tabbed page to some other page does not result in a back button showing on the new page. Navigating with just one set of tabs works fine and as expected.

---

<div class="post-metadata">

**Author:** ![wwelchj](https://avatars.discourse-cdn.com/v4/letter/w/5e9695/32.png) [@wwelchj](https://forum.ionicframework.com/u/wwelchj)\
**Post date:** [July 8, 2015, 8:51pm UTC](https://forum.ionicframework.com/t/ionic-navigation-with-nested-tabs/27774/4 "2015-07-08T20:51:31Z")

</div>

To demonstrate what I mean, look at the following codepen (adapted from another post on this forum):

> **[Ionic Nested Tabs](https://codepen.io/anon/pen/GJdRBR)**
>
> Trying to get nested tabs working in Ionic Forked from \[Adrien Glitchbone\](http://codepen.io/Glitchbone/)'s Pen \[Ionic Nested Tabs\](http://codepen.io/...

Go to the About tab, then the page 3 tab, then click on the link.

---

<div class="post-metadata">

**Author:** ![gmarziou](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/gmarziou/32/13327_2.png) [@gmarziou](https://forum.ionicframework.com/u/gmarziou)\
**Post date:** [July 10, 2015, 12:49pm UTC](https://forum.ionicframework.com/t/ionic-navigation-with-nested-tabs/27774/5 "2015-07-10T12:49:54Z")

</div>

The link opens the test page which is not nested in tabs abstract state so to me it seems normal that tab history is not managed for the test page.

Personally, I don’t like nesting states using dot notation (tabs.\*) as Ionic team chose for their starter app, it’s just feels too magical and creating long state names, I prefer setting parent explicity in state definition.
