[Bug]:Text highlighting not working: PopUp missing when highlighting text in PDF.js after build #19783
Unanswered
Karthikeyakollu-Acolyte
asked this question in
Q&A
Replies: 2 comments
-
It would be helpful if someone could help me out. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sure! Here's a properly formatted and clearer version of your instruction: To enable the highlight floating button feature, update the Step 1: Locate this section in
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Attach (recommended) or Link to PDF file
Text highlighting not working: PopUp missing when highlighting text in PDF.js after build
please helpme
Web browser and its version
Chrome, Version 134.0.6998.167
Operating system and its version
MAC OS, 15.4 (24E248)
PDF.js version
5.1.110
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
Sure! Here's the direct answer you can use for the "Steps to reproduce the problem" field in the issue form:
Steps to reproduce the problem:
Clone the PDF.js repository and install dependencies:
git clone https://github.com/mozilla/pdf.js.git cd pdf.js npm install
Run the following command to generate the generic build:
Open the built viewer:
Load a PDF and try to highlight text.
What is the expected behavior?
Expected behavior: A popup should appear when text is highlighted (e.g., annotation or selection popup).
Actual behavior: Text is highlighted, but no popup is shown.
What went wrong?
running pdf.js/web/viewer.html

running pdf.js/build/generic/web/viewer.html

Link to a viewer
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions