From 70ff6e608ba1361a5c681fc964a6f29aff6b7d4f Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Wed, 29 Aug 2018 17:41:38 +0200 Subject: [PATCH] MOBILE-2567 courses: Fix keyboard closed in iOS when filtering --- src/core/courses/pages/my-courses/my-courses.ts | 2 +- src/core/courses/pages/my-overview/my-overview.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } }