question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ionic V4.beta11 ion-back-button changes tabs

See original GitHub issue

Bug Report

Ionic Info

ionic (Ionic CLI)          : 4.1.2  (/usr/local/lib/node_modules/ionic)
Ionic Framework            : @ionic/angular 4.0.0-beta.8
@angular-devkit/core       : 0.7.5
@angular-devkit/schematics : 0.7.5
@angular/cli               : 6.1.5
@ionic/ng-toolkit          : 1.0.8
@ionic/schematics-angular  : 1.0.6

Describe the Bug I have a tab page with 3 differents page. In the second tab, you can push another page. But when you want to come back to the tab page thanks to the ion-back-button, you come back to the first tab instead of the second.

Thank you in advance

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:8
  • Comments:29 (8 by maintainers)

github_iconTop GitHub Comments

7reactions
tjelzcommented, Nov 21, 2018

Still an issue in beta 16

4reactions
janilamppucommented, Dec 18, 2018

I updated my project to beta 19 and the issue still persists. I have 3 tabs and a button on the second tab to navigate to a new page. When Back-button is clicked in the new page, I get thrown to tab 1 instead of tab 2. Using defaultHref makes no change. I also changed the page navigation to use routerLink instead of href as adviced in the changelogs.

"@ionic/angular": "^4.0.0-beta.19",

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ionic V4 ion-back-button changes tabs - Stack Overflow
I have a tab page with 3 differents page. In the second tab, you can push another page. But when you want to...
Read more >
[4.0.0-beta.11] Hardware back button closes overlay ... - GitHub
Is it possible to override the logic set by Ionic for the back button ? All reactions.
Read more >
Hardware back button with Ionic 4 - Ionic Forum
Is the hardware back button working with ionic 4? ... How to maintain the navigation stack in app.component as well as in the...
Read more >
ion-back-button-tabs - npm
Advanced ion-back-button component · 1. Install. npm i ion-back-button-tabs --save · 2. Import BackButtonTabsModule to your page module (shortened ...
Read more >
Master/Detail Navigation Within a Tabs Layout in Ionic
Last updated for Ionic 4.0.0 ... ionic start tabs-sub-navigation tabs --type=angular ... <ion-buttons slot="start"> <ion-back-button ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found