I am using ion-router-outlet for navigation in my Ionic 4 app and it appears when using navigateByUrl it keeps past pages open as shown here (app-start [first page] and app-join-start [second page]):
This wouldn’t be a problem except after enough pages are loaded the functions on hidden pages are triggered which causes navigation to navigate to the correct page and then jump to another page. So for example if navigating from another page back to app-start it would load app-start and then load app-join-start right afterwards. The functions that seem to be navigating to the wrong next pages are called in the constructors of the hidden pages.
I am using “@angular/core”: “^7.2.2” and @ionic/angular": “^4.6.0”
Thank you so much!