mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
fix(overlays): respect keyboardClose property when opening overlays (#21240)
This commit is contained in:
@ -140,7 +140,9 @@ export const present = async (
|
|||||||
overlay.didPresent.emit();
|
overlay.didPresent.emit();
|
||||||
}
|
}
|
||||||
|
|
||||||
overlay.el.focus();
|
if (overlay.keyboardClose) {
|
||||||
|
overlay.el.focus();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
export const dismiss = async (
|
export const dismiss = async (
|
||||||
|
Reference in New Issue
Block a user