#91592Modal not closable using ESC when focus is inside elements of iframe
Description
Having an iframe-modal the Escape key is not bubbled to the parent modal.
Pages loaded inside an iframe should close the parent modal when Escape key is pressed.
Code hint:
function keyPress (e) {
if(!(window === window.parent)) { //check if the parent window exists
if(e.key === "Escape") { // Check if Escape key is pressed
window.parent... // close modal here
}
}
}Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.