mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-28 11:31:55 +02:00
Keep PDF preview mounted while not visible (#21270)
GitOrigin-RevId: 266ecbb72a5238e1e977265e56c33880ec1a54be
This commit is contained in:
@@ -103,7 +103,7 @@ export const EditorAndPdf: FC = () => {
|
||||
onExpand={handlePdfPaneExpand}
|
||||
className="ide-react-panel"
|
||||
>
|
||||
{pdfIsOpen && <PdfPreview />}
|
||||
<PdfPreview />
|
||||
{/* ensure that "sync to code" is available in PDF only layout */}
|
||||
{pdfLayout === 'flat' && view === 'pdf' && (
|
||||
<div className="synctex-controls" hidden>
|
||||
|
||||
Reference in New Issue
Block a user