Hi,
Depending on the path, I need to render inside a slide or not. The route can have child routes too. I am having problems using 2 ion-router-outlet
on the same page… wonder if there is a better solution.
Error: ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'appendChild')
<app-bottom-drawer [ngClass]="{'ion-hide': !isSlideContent}">
<ion-router-outlet *ngIf="isSlideContent"></ion-router-outlet>
</app-bottom-drawer>
<ion-router-outlet *ngIf="!isSlideContent"></ion-router-outlet>
<app-footer></app-footer>
Ionic CLI : 6.17.1
Ionic Framework : @ionic/angular 5.8.1
@angular-devkit/build-angular : 12.1.4
@angular-devkit/schematics : 12.2.7
@angular/cli : 12.2.7
@ionic/angular-toolkit : 4.0.0
Thank you.
1 post - 1 participant