diff --git a/core/src/utils/overlays.ts b/core/src/utils/overlays.ts index b43e538635..0fdd9e7f55 100644 --- a/core/src/utils/overlays.ts +++ b/core/src/utils/overlays.ts @@ -140,7 +140,9 @@ export const present = async ( overlay.didPresent.emit(); } - overlay.el.focus(); + if (overlay.keyboardClose) { + overlay.el.focus(); + } }; export const dismiss = async (