# setRoot and TabsPage

**URL:** <https://forum.ionicframework.com/t/setroot-and-tabspage/117105>\
**Category:** ionic-v3\
**Created:** [January 3, 2018, 1:04pm UTC](https://forum.ionicframework.com/t/setroot-and-tabspage/117105 "2018-01-03T13:04:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zyzmoz](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/zyzmoz/32/111584_2.png) [@zyzmoz](https://forum.ionicframework.com/u/zyzmoz)\
**Post date:** [January 3, 2018, 1:04pm UTC](https://forum.ionicframework.com/t/setroot-and-tabspage/117105/1 "2018-01-03T13:04:13Z")

</div>

I have an application which I use setRoot passing a TabsPage, I don’t know why when the view load any tab are selected… However if I just set the TabsPage as Root directly in app.component.ts it works right.

Can anyone help me?

Thanks

---

<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:56pm UTC](https://forum.ionicframework.com/t/setroot-and-tabspage/117105/2 "2021-07-19T21:56:32Z")

</div>

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


