You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RC.0 - ion-back-button with child in tabs starter goes to wrong tab #16923
@supperdsj This still causes issues with our app, as far as i know setting a click on a back button does not prevent it from executing its normal behaviour, so in this case your triggering your own goBack and the default behaviour of the back button ?
<ion-button color="primary" fill="clear" (click)="navCtrl.goBack();"> <ion-icon slot="start" name="arrow-back"></ion-icon>back </ion-button>
work for me
Activity
supperdsj commentedon Jan 4, 2019
<ion-back-button (click)="navCtrl.goBack()"></ion-back-button>NavController.goBack() can go back to the right page.
kensodemann commentedon Jan 4, 2019
I was using a slightly more "hard coded" workaround for now, but I like that one better. Thanks @supperdsj!
RHinderiks commentedon Jan 9, 2019
@supperdsj This still causes issues with our app, as far as i know setting a click on a back button does not prevent it from executing its normal behaviour, so in this case your triggering your own goBack and the default behaviour of the back button ?
supperdsj commentedon Jan 10, 2019
@kensodemann hope you share more detail about your "hard coded" solution :)
hiepxanh commentedon Jan 11, 2019
navCtrl.goBack()that function causing my tab view being destroyedsupperdsj commentedon Jan 14, 2019
<ion-button color="primary" fill="clear" (click)="navCtrl.goBack();"> <ion-icon slot="start" name="arrow-back"></ion-icon>back </ion-button>work for me
paulstelzer commentedon Jan 15, 2019
I close this as duplicate of #15216
I think my gif demonstrate the issue well -> #15216 (comment) (after navigating back it opens the first tab)
and I think it's the same issue like described here
kensodemann commentedon Jan 15, 2019
You are correct sir!! (locking this as well to avoid further discussion here)