Skip to content

Commit c187801

Browse files
committed
add id to iframe for canvas listener
1 parent a3a23ee commit c187801

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/modules/Preview/EmbedFrame.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ function EmbedFrame({ files, isPlaying, basePath, gridOutput, textOutput }) {
315315
useEffect(renderSketch, [files, isPlaying]);
316316
return (
317317
<Frame
318+
id="previewIframe0"
318319
aria-label="Sketch Preview"
319320
role="main"
320321
frameBorder="0"

0 commit comments

Comments
 (0)