stephanrauh / ngx-extended-pdf-viewer

A full-blown PDF viewer for Angular 16, 17, and beyond
https://pdfviewer.net
Apache License 2.0
474 stars 182 forks source link

PDF Viewer Text Layer Highlighting Issue #2590

Open imskrishnan opened 5 days ago

imskrishnan commented 5 days ago

I used to have access to PDFPageView.textLayer.textDivs as of ngx-extended-pdf-viewer version 15 and angular version 14, but after upgrading the ngx-extended-pdf-viewer version to ^20.5.2 and angular to version 17, Im no longer having access to PDFPageView.textLayer.textDivs, and instead having to access it through PDFPageView.textLayer.highlighter.textDivs. This is causing highlighting issues and inaccuracies from highlighting perspective. Are you aware of this and is there any workaround? Thanks.

Julian-B90 commented 11 hours ago

I think this is related to this issue #2494, could you test a larger version 21.3.1?