Select a tab and push to new page?

#1

Hi guys,

I try since yesterday lot of solutions, but didn’t find how to resolve this.

In a controller, I try to :

  • 1> select a new tab
  • 2> after this, push a new page

I tried this :

this.navCtrl.parent.select(4)
        .then(() => {
            this.navCtrl.setRoot(MessagePage,{sendMessage: true, user: this.user});
        });

For my example, I am in the TAB0, I try to select the TAB4, and push to “MessagePage”.
My TAB4 is configured on the MessagesPage (listing page), and I try to go directly to the writing message page (MessagePage)

This select the tab and go to “MessagesPage”, but after I can’t push to “MessagePage”

this.navCtrl.parent.select(4)

Thanks for your help :slight_smile:

#2

Up ? Anyone have an idea ? :slight_smile:

#3

Hi guys, still looking for the solution :frowning: