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] Tab History Lost with Angular Routing

See original GitHub issue

Ionic version: (check one with “x”) (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1) [ ] 2.x [ ] 3.x [x ] 4.x

I’m submitting a … (check one with “x”) [ x] bug report [ ] feature request

Current behavior:

When navigating past the root level of the tab, the history of that tab is lost when switching between tabs.

Expected behavior:

When navigating past the root level of the tab, the history of that tab is maintained when switching between tabs.

Steps to reproduce:

Clone Ionic Conference App https://github.com/ionic-team/ionic-conference-app Switch to core-update branch Run ionic serve Click into one of the events on the Schedule Tab Click the Speakers Tab Click the Schedule Tab Observe you are now back to the root of the tab, and have lost the history for that tab

Ionic:

   ionic (Ionic CLI)          : 4.0.1    
   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-rc.9
   @ionic/schematics-angular  : 1.0.0-rc.9

Cordova:

   cordova (Cordova CLI) : 7.1.0
   Cordova Platforms     : none

System:

   NodeJS : v8.11.2 
   npm    : 5.6.0
   OS     : macOS Sierra

Environment:

   ANDROID_HOME : not set

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:10
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
agustinhallercommented, Aug 14, 2018

Having the same issue

0reactions
ionitron-bot[bot]commented, Dec 29, 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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Ionic v4] Tab History Lost with Angular Routing #14960 - GitHub
Current behavior: When navigating past the root level of the tab, the history of that tab is lost when switching between tabs. Expected...
Read more >
Tab History with Angular Routing v4 - Ionic Framework
When using the tabs theme in a v4 project, I noticed that when navigating past the root level of the tab, the history...
Read more >
Ionic 4 loses stack pointer when navigating back
In Ionic4 the navigation stack is controlled behind the scene. So when you route to a new page, it automatically does the stack...
Read more >
Navigating the Change with Ionic 4 and Angular Router
In this tutorial we will look at the new navigation system inside Ionic Framework 4.0 to learn how to use the powerful CLI,...
Read more >
Angular: Refetch data on same URL navigation - Medium
The first approach is to tell the Angular router to emit the route events on refresh and then handle them accordingly in our...
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