# Ionic cannot select tab and push page

**URL:** <https://forum.ionicframework.com/t/ionic-cannot-select-tab-and-push-page/101660>\
**Category:** ionic-v3\
**Created:** [August 11, 2017, 9:10am UTC](https://forum.ionicframework.com/t/ionic-cannot-select-tab-and-push-page/101660 "2017-08-11T09:10:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikethetechy](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@mikethetechy](https://forum.ionicframework.com/u/mikethetechy)\
**Post date:** [August 11, 2017, 9:10am UTC](https://forum.ionicframework.com/t/ionic-cannot-select-tab-and-push-page/101660/1 "2017-08-11T09:10:47Z")

</div>

I am trying to navigate users to tab 3 then on top of tab 3 I am trying to push a view. so the result is : i can navigate to tab 3 but the view is not pushed on top of tab 3, instead when i go to the “first tab” i see the view that was supposed to be pushed on top of tab 3. I thought the push is getting executed before the tab is being navigated to and i tried setting timeout. still doesnt help. Someone please help. here is the code i tried:

```auto
 FCMPlugin.onNotification((data)=>{
    if(data.wasTapped){

        if(data.type == "urgentnews"){

        let loading = this.loadingCtrl.create({
        content:'loading..'
         });
        loading.present();

        this.tab.select(2);

       setTimeout(()=>{

       this.navCtrl.push(ViewurgentnewsPage);
       this.navCtrl.push(ViewurgentnewsdetailPage,{data});
       loading.dismiss();

       },3000)

        }

    }else{

        //alert('this was received on foreground');

    }
    });

```
