Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to select highlighted text. #18190

Open
atrinker opened this issue May 30, 2024 · 4 comments
Open

Unable to select highlighted text. #18190

atrinker opened this issue May 30, 2024 · 4 comments

Comments

@atrinker
Copy link

Attach (recommended) or Link to PDF file here:
26805f2e-04d2-40af-978b-341d45fec3e8.pdf

Configuration:

  • Web browser and its version: Mozilla
  • Operating system and its version: Windows 10
  • PDF.js version: 4.3.136

Steps to reproduce the problem:

  1. Open attached file in the demo viewer.
  2. Attempt to select text within the highlighted paragraph.

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.

@calixteman
Copy link
Contributor

It's a regression from #16899.

@marco-c
Copy link
Contributor

marco-c commented May 31, 2024

#18134 should make it easier to fix this.

@atrinker
Copy link
Author

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:

Screenshot 2024-05-31 at 09-29-31 26805f2e-04d2-40af-978b-341d45fec3e8-5 pdf

@nicolo-ribaudo
Copy link
Contributor

nicolo-ribaudo commented May 31, 2024

Can those preexisting annotations have pointer-events: none?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants