Skip to content

Commit

Permalink
Fix resizeable editor scrolling by avoiding setting a height on the e…
Browse files Browse the repository at this point in the history
…ditor iframe
  • Loading branch information
talldan committed Oct 21, 2022
1 parent 9d48cb0 commit 0e19607
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function ResizableEditor( { enableResizing, settings, children, ...props } ) {
>
<Iframe
isZoomedOut={ isZoomOutMode }
style={ enableResizing ? { height } : deviceStyles }
style={ enableResizing ? undefined : deviceStyles }
head={
<>
<EditorStyles styles={ settings.styles } />
Expand Down

0 comments on commit 0e19607

Please sign in to comment.