Merge pull request #3774 from PmcFizz/patch-4

fix example iframe don't alert
This commit is contained in:
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

View file

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