-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Elements not displayed in demo viewer #17069
Comments
I can reproduce in Firefox nightly. pdf.js/src/display/annotation_layer.js Line 2968 in c377f2d
|
mozilla#17069) When an element has the hasOwnCanvas flag we must have an HTML container to attach the canvas where the element will be rendered. So the noHTML flag must take this information into account: - in some cases the noHTML flag is resetted depending on the hasOwnCanvas value; - in some others, the hasOwnCanvas flag is set depending on the value of noHTML.
mozilla#17069) When an element has the hasOwnCanvas flag we must have an HTML container to attach the canvas where the element will be rendered. So the noHTML flag must take this information into account: - in some cases the noHTML flag is resetted depending on the hasOwnCanvas value; - in some others, the hasOwnCanvas flag is set depending on the value of noHTML.
Update the noHTML flag to take into account the hasOwnCanvas one (fixes #17069)
Hi @calixteman, Thank you for resolving this problem! I have tested on Demo site and sticky note appears correctly. |
Attach (recommended) or Link to PDF file here:
Testdoc.pdf
Configuration:
Steps to reproduce the problem:
What is the expected behavior? (add screenshot)
comment and sticky note are rendered in viewer
please note this is working in 2.5.207 PDF.js version:
What went wrong? (add screenshot)
comment and sticky note are not rendered in viewer
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
The text was updated successfully, but these errors were encountered: