mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Keep PDF preview mounted while not visible (#21270)
GitOrigin-RevId: 266ecbb72a5238e1e977265e56c33880ec1a54be
This commit is contained in:
parent
db8d7a7af0
commit
9352b51d28
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ export const EditorAndPdf: FC = () => {
|
||||||
onExpand={handlePdfPaneExpand}
|
onExpand={handlePdfPaneExpand}
|
||||||
className="ide-react-panel"
|
className="ide-react-panel"
|
||||||
>
|
>
|
||||||
{pdfIsOpen && <PdfPreview />}
|
<PdfPreview />
|
||||||
{/* ensure that "sync to code" is available in PDF only layout */}
|
{/* ensure that "sync to code" is available in PDF only layout */}
|
||||||
{pdfLayout === 'flat' && view === 'pdf' && (
|
{pdfLayout === 'flat' && view === 'pdf' && (
|
||||||
<div className="synctex-controls" hidden>
|
<div className="synctex-controls" hidden>
|
||||||
|
|
Loading…
Reference in a new issue