Tabs routing not working anymore


#1

Hi, I am currently working with apps with tabs. Thus, I using this command this.navCtrl.parent.select(5) to jump and point at the desire location. However, when I have a popup and pushing page I realise the URL is not chaning anymore. Thus when auto redirect it prompt me this “Cannot read property ‘select’ of null”. I felt that I have mess up my code. Please help thankyou in advance.


#2

I don’t know which tab you’re using… but you can try to use

ion-segment component to build tabs or use Angular 5 tabs: