MOBILE-3320 ios: Fix PTR in tabs-outlet pages in iOS
Apparently iOS gets the outer ion-content to scroll when there's more than one, so we had to remove the ion-contents outside of core-tabs-outletmain
parent
3adf95a348
commit
096beec288
|
@ -10,6 +10,4 @@
|
|||
<ion-buttons slot="end"></ion-buttons>
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
<ion-content>
|
||||
<core-tabs-outlet [tabs]="tabs" [hideUntil]="loaded" (ionChange)="tabSelected()"></core-tabs-outlet>
|
||||
</ion-content>
|
||||
<core-tabs-outlet [tabs]="tabs" [hideUntil]="loaded" (ionChange)="tabSelected()"></core-tabs-outlet>
|
||||
|
|
|
@ -12,13 +12,11 @@
|
|||
</ion-buttons>
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
<ion-content>
|
||||
<core-loading [hideUntil]="loaded">
|
||||
<core-tabs-outlet *ngIf="tabs.length > 0" [selectedIndex]="selectedTab" [hideUntil]="loaded" [tabs]="tabs"
|
||||
(ionChange)="tabSelected()">
|
||||
</core-tabs-outlet>
|
||||
<ng-container *ngIf="tabs.length == 0">
|
||||
<core-empty-box icon="fas-home" [message]="'core.courses.nocourses' | translate"></core-empty-box>
|
||||
</ng-container>
|
||||
</core-loading>
|
||||
</ion-content>
|
||||
<core-loading [hideUntil]="loaded">
|
||||
<ng-container *ngIf="tabs.length == 0">
|
||||
<core-empty-box icon="fas-home" [message]="'core.courses.nocourses' | translate"></core-empty-box>
|
||||
</ng-container>
|
||||
</core-loading>
|
||||
<core-tabs-outlet *ngIf="tabs.length > 0" [selectedIndex]="selectedTab" [hideUntil]="loaded" [tabs]="tabs"
|
||||
(ionChange)="tabSelected()">
|
||||
</core-tabs-outlet>
|
||||
|
|
Loading…
Reference in New Issue