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
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>
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!
The text was updated successfully, but these errors were encountered:
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
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.
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
ionic start New tabs --type=angular
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>
<a [routerLink]="['/settings']">Settings</a>
ionic serve
opens http://localhost:8100/tabs/(home:home) in browser - tab buttons work okOther comments
If I use browser back instead of back button, the app works fine!
The text was updated successfully, but these errors were encountered: