diff --git a/core/package.json b/core/package.json index cec3c755dc..60e77b28b5 100644 --- a/core/package.json +++ b/core/package.json @@ -36,7 +36,7 @@ "devDependencies": { "@stencil/core": "1.12.4", "@stencil/sass": "1.3.1", - "@types/jest": "24.9.0", + "@types/jest": "24.9.1", "@types/node": "12.12.3", "@types/puppeteer": "1.19.1", "@types/swiper": "5.2.1", diff --git a/core/src/components/action-sheet/action-sheet.tsx b/core/src/components/action-sheet/action-sheet.tsx index 47d31552e1..f4ef97e49f 100644 --- a/core/src/components/action-sheet/action-sheet.tsx +++ b/core/src/components/action-sheet/action-sheet.tsx @@ -202,6 +202,7 @@ export class ActionSheet implements ComponentInterface, OverlayInterface { - + diff --git a/core/src/components/loading/loading.tsx b/core/src/components/loading/loading.tsx index 9e1f799210..70a88bdc37 100644 --- a/core/src/components/loading/loading.tsx +++ b/core/src/components/loading/loading.tsx @@ -184,6 +184,7 @@ export class Loading implements ComponentInterface, OverlayInterface { return (
diff --git a/core/src/utils/overlays.ts b/core/src/utils/overlays.ts index 5a525cf19f..b43e538635 100644 --- a/core/src/utils/overlays.ts +++ b/core/src/utils/overlays.ts @@ -139,6 +139,8 @@ export const present = async ( if (completed) { overlay.didPresent.emit(); } + + overlay.el.focus(); }; export const dismiss = async (