diff --git a/src/core/features/grades/pages/course/course.page.ts b/src/core/features/grades/pages/course/course.page.ts
index 3cf1fcafb..7bca24a87 100644
--- a/src/core/features/grades/pages/course/course.page.ts
+++ b/src/core/features/grades/pages/course/course.page.ts
@@ -58,6 +58,7 @@ export class CoreGradesCoursePage implements AfterViewInit, OnDestroy {
rowsOnView = 0;
totalColumnsSpan?: number;
withinSplitView?: boolean;
+ loaded = false;
protected useLegacyLayout?: boolean; // Whether to use the layout before 4.1.
protected fetchSuccess = false;
@@ -111,6 +112,8 @@ export class CoreGradesCoursePage implements AfterViewInit, OnDestroy {
await this.swipeManager?.start();
await this.fetchInitialGrades();
+
+ this.loaded = true;
}
/**
diff --git a/src/core/features/user/pages/participants/participants.page.ts b/src/core/features/user/pages/participants/participants.page.ts
index 47633f894..d851cefd9 100644
--- a/src/core/features/user/pages/participants/participants.page.ts
+++ b/src/core/features/user/pages/participants/participants.page.ts
@@ -72,8 +72,14 @@ export class CoreUserParticipantsPage implements OnInit, AfterViewInit, OnDestro
*/
async ngAfterViewInit(): Promise {
await this.fetchInitialParticipants();
+ await this.participants.start(this.splitView);
+ }
- this.participants.start(this.splitView);
+ /**
+ * @inheritdoc
+ */
+ async ionViewDidEnter(): Promise {
+ await this.participants.start();
}
/**
diff --git a/src/core/features/user/user-course-lazy.module.ts b/src/core/features/user/user-course-lazy.module.ts
index 8653a7b50..a0a9cb34c 100644
--- a/src/core/features/user/user-course-lazy.module.ts
+++ b/src/core/features/user/user-course-lazy.module.ts
@@ -28,6 +28,7 @@ const routes: Routes = [
{
path: ':userId',
loadChildren: () => import('@features/user/user-profile-lazy.module').then(m => m.CoreUserProfileLazyModule),
+ data: { swipeManagerSource: 'participants' },
},
], () => CoreScreen.isTablet),
},