Open atrinker opened 4 months ago
It's a regression from #16899.
I wonder whether this might be tied into #16883, because the unexpected behavior only occurs with annotations that are "burnt in." See the screenshot below, where the red highlighting is newly added:
Can those preexisting annotations have pointer-events: none
?
Hi, I'm looking for highlighting with pdfjs. As I see on screenshot, there is a tool for highlighting. How can add to my proejct?
Setting this to none
makes it possible to select the text again:
https://github.com/mozilla/pdf.js/blob/2efa3e460c94ad6ad48541e2ec44af6e22153bda/web/annotation_layer_builder.css#L118
I think this is now fixed.
No actually not, now clicking on the highlighted text will select the whole highlighted area.
Attach (recommended) or Link to PDF file here: 26805f2e-04d2-40af-978b-341d45fec3e8.pdf
Configuration:
Steps to reproduce the problem:
What is the expected behavior? (add screenshot) You should be able to select text (e.g., for copying) from the highlighted paragraph
What went wrong? (add screenshot) You are unable to do so.