Merge pull request #3774 from PmcFizz/patch-4

fix example iframe don't alert
pull/3775/head v0.37.0-dev.20230314
Henning Dieterichs 2023-03-10 13:23:53 +01:00 committed by GitHub
commit 2541de85e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ export class Preview
<iframe
className="full-iframe"
key={this.counter}
sandbox="allow-scripts"
sandbox="allow-scripts allow-modals"
frameBorder={0}
ref={this.handleIframe}
src="./playgroundRunner.html"