Skip to content

Commit

Permalink
fix #955
Browse files Browse the repository at this point in the history
Bug: resizing the editor doesn't work correctly in Firefox
due to pointer events being captured in the preview pane
  • Loading branch information
Mathieu-COSYNS committed Oct 27, 2023
1 parent d6fc0c5 commit 72f0ad0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ const EditorInterface: FC<EditorInterfaceProps> = ({
classes.root,
editorSize === EDITOR_SIZE_COMPACT && classes.compact,
)}
disablePointerEventsDuringResize={true}
>
<Panel defaultSize={COMPACT_EDITOR_DEFAULT_WIDTH} minSize={COMPACT_EDITOR_DEFAULT_WIDTH}>
<ScrollSyncPane>{editor}</ScrollSyncPane>
Expand Down

0 comments on commit 72f0ad0

Please sign in to comment.