Skip to content

Commit 420b56a

Browse files
authored
feat: Add 'allow-modals' to inner iframe sandbox (#894)
1 parent e03d358 commit 420b56a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iframe-sandbox/src/outer-frame.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ iframe {
3030
<body>
3131
<iframe
3232
allow="clipboard-write"
33-
sandbox="allow-scripts"><\/iframe>
33+
sandbox="allow-scripts allow-modals"><\/iframe>
3434
<script>
3535
const iframe = document.querySelector("iframe");
3636
const HOST_ORIGIN = "${HOST_ORIGIN}";

0 commit comments

Comments
 (0)