Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ionic v4] Returning to tabs from another page causes tabs to break #14885

Closed
gregor-srdic opened this issue Jul 26, 2018 · 1 comment
Closed
Assignees
Labels
package: core @ionic/core package

Comments

@gregor-srdic
Copy link

gregor-srdic commented Jul 26, 2018

Bug Report

Ionic Info
Ionic:
ionic (Ionic CLI) : 4.0.1 (C:\Users\Nomnio\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.0.0-beta.0
@angular-devkit/core : 0.7.0-rc.3
@angular-devkit/schematics : 0.7.0-rc.3
@angular/cli : 6.0.8
@ionic/ng-toolkit : 1.0.0
@ionic/schematics-angular : 1.0.0
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : none
System:
Android SDK Tools : 26.1.1
NodeJS : v8.11.3 (C:\Program Files\nodejs\node.exe)
npm : 5.6.0
OS : Windows 10

Describe the Bug
Back button breaks tabs url
http://localhost:8100/tabs instead of http://localhost:8100/tabs/(home:home)

Steps to Reproduce

  • Created new project with tabs template ionic start New tabs --type=angular
  • Added new page ionic g page settings and added back button to generated settings.page.html ion-toolbar element <ion-buttons slot="start"><ion-back-button></ion-back-button></ion-buttons>
  • added link to the new page on home.page.html <a [routerLink]="['/settings']">Settings</a>
  • run ionic serve opens http://localhost:8100/tabs/(home:home) in browser - tab buttons work ok
  • click on Settings link, opens http://localhost:8100/settings
  • now click on back button in header, opens http://localhost:8100/tabs and tabs do not work anymore (show correctly, but tapping on tab button reloads application)

Other comments
If I use browser back instead of back button, the app works fine!

@ionitron-bot ionitron-bot bot added the triage label Jul 26, 2018
@gregor-srdic gregor-srdic changed the title Returning to tabs from another page causes tabs to break [Ionic v4] Returning to tabs from another page causes tabs to break Jul 26, 2018
@brandyscarney brandyscarney added the package: core @ionic/core package label Jul 26, 2018
@ionitron-bot ionitron-bot bot removed the triage label Jul 26, 2018
@manucorporat manucorporat self-assigned this Aug 12, 2018
@ionitron-bot
Copy link

ionitron-bot bot commented Sep 15, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package: core @ionic/core package
Projects
None yet
Development

No branches or pull requests

3 participants