diff --git a/src/core/courses/pages/my-courses/my-courses.ts b/src/core/courses/pages/my-courses/my-courses.ts index e585c2613..6a67618a1 100644 --- a/src/core/courses/pages/my-courses/my-courses.ts +++ b/src/core/courses/pages/my-courses/my-courses.ts @@ -152,7 +152,7 @@ export class CoreCoursesMyCoursesPage implements OnDestroy { if (this.showFilter) { setTimeout(() => { this.searchbar.setFocus(); - }); + }, 500); } } diff --git a/src/core/courses/pages/my-overview/my-overview.ts b/src/core/courses/pages/my-overview/my-overview.ts index 8a7e323c8..cb3b58745 100644 --- a/src/core/courses/pages/my-overview/my-overview.ts +++ b/src/core/courses/pages/my-overview/my-overview.ts @@ -283,7 +283,7 @@ export class CoreCoursesMyOverviewPage implements OnDestroy { if (this.showFilter) { setTimeout(() => { this.searchbar.setFocus(); - }); + }, 500); } }