URL not changing while using Menu in Ionic


#1

I started using Ionic3 Lazy Loading and faced following issue:
(1) When I am using Menu, that time URL doesn’t change on navigation. Specifically,
<ion-menu [content]="content"> <ion-header> <ion-toolbar> <ion-title>Menu</ion-title> </ion-toolbar> </ion-header> <ion-content> <ion-list><button ion-item (click)="openPage(homePage)">Home </button></ion-list> </ion-content> </ion-menu>
<ion-nav id=“nav” #content [root]=“rootPage”>

when I comment just this line URL changes as it is supposed to do but Menu doesn’t open up in this scenario.
(2) While I am navigating between pages, sometimes I am getting an error as “Uncaught(in promise): invalid views to enter” and sometimes as “removeView was not found”.

Kindly provide some suggestions.


Using Angular2 router for URL change
#2

Did you checked this DeepLinks ?


#3

@avishai_peretz_dev I tried it but it doesn’t work with Lazy Loading.


#4

@mhartington @jgw9617 @danbucholtz guys any suggestions plz !


#5

check this solution remove loading component


#6

@avishai_peretz_dev I am not even using Loading Controller in some modules and still facing this issue in those modules also. Please do suggest if any other options are other and thanks for your suggestion.


#7

Did you find any solution? I am facing the same issues…


#8

Any solution for this?? I am facing the same issue…Please suggest something