Skip to content

Commit

Permalink
Fix iframe in Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Aug 4, 2023
1 parent 3ec5c25 commit 177fccd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/src/popover/test/utils/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const GenericIframe = ( {
<iframe
{ ...props }
title="My Iframe"
srcDoc="<!doctype html><html><body></body></html>"
// Waiting for the load event ensures that this works in Firefox.
// See https://github.com/facebook/react/issues/22847#issuecomment-991394558
onLoad={ ( event ) => {
Expand Down

0 comments on commit 177fccd

Please sign in to comment.