Fix: disable pdfjs selection rendering (#13538)

This commit is contained in:
shamoon
2026-08-03 15:41:05 -07:00
committed by GitHub
parent 991d99bb7c
commit d5d22c2c0f
2 changed files with 2 additions and 0 deletions
@@ -90,6 +90,7 @@ describe('PngxPdfViewerComponent', () => {
}
expect(viewer).toBeInstanceOf(PDFSinglePageViewer)
expect(viewer.options.textLayerMode).toBe(0)
expect(viewer.options.enableSelectionRendering).toBe(false)
})
it('applies zoom, rotation, and page changes', async () => {
@@ -221,6 +221,7 @@ export class PngxPdfViewerComponent
linkService: this.linkService,
findController: this.findController,
textLayerMode,
enableSelectionRendering: false,
removePageBorders: true,
}