fix(overlays): respect keyboardClose property when opening overlays (#21240)

This commit is contained in:
Liam DeBeasi
2020-05-08 11:56:40 -04:00
committed by GitHub
parent f23f1cb37e
commit 9d0dcbbd31

View File

@ -140,7 +140,9 @@ export const present = async (
overlay.didPresent.emit();
}
overlay.el.focus();
if (overlay.keyboardClose) {
overlay.el.focus();
}
};
export const dismiss = async (