Hide PDF pane while resizing (#16124)

GitOrigin-RevId: c2003e91b5b5a3cf6af073329aff6618e060018c
This commit is contained in:
Alf Eaton 2023-12-08 09:37:19 +00:00 committed by Copybot
parent 8c91a2e4cf
commit da397e17d4

View file

@ -37,7 +37,13 @@ export const EditorAndPdf: FC<{
view === 'editor' || view === 'file' || pdfLayout === 'sideBySide'
return (
<PanelGroup autoSaveId="ide-editor-pdf-layout" direction="horizontal">
<PanelGroup
autoSaveId="ide-editor-pdf-layout"
direction="horizontal"
className={classNames({
'ide-panel-group-resizing': resizing,
})}
>
{/* main */}
{editorIsOpen && (
<>