Skip to content

Commit

Permalink
Merge pull request #1668 from aguescribano87/development
Browse files Browse the repository at this point in the history
  • Loading branch information
charce36 authored Dec 19, 2023
2 parents 6e05e3e + 3e77909 commit 7a3c199
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -345,4 +345,4 @@



window['STORIES'] = [];</script><script src="runtime~main.4da3e916.iframe.bundle.js"></script><script src="vendors~main.14c80125.iframe.bundle.js"></script><script src="main.99a00cf9.iframe.bundle.js"></script></body></html>
window['STORIES'] = [];</script><script src="runtime~main.4da3e916.iframe.bundle.js"></script><script src="vendors~main.14c80125.iframe.bundle.js"></script><script src="main.95b4ba57.iframe.bundle.js"></script></body></html>

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion packages/modal/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ export const Modal = ({

const handleKeyDown = (event) => {
if (event.key === 'Escape') {
closeModal()
const FW = document.getElementsByClassName('openFullscreen')[0]
if (!FW) {
closeModal()
}
}
}

Expand Down

0 comments on commit 7a3c199

Please sign in to comment.