We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
example.pdf
Firefox 133
Windows 10
4.10.38
Yes
No
Go to https://mozilla.github.io/pdf.js/web/viewer.html
Open the attachted example.pdf file
Make sure Page 1 is visible
Scroll to Page 2, make sure Page 1 is not visible anymore
Click on "Add or Edit image" (In the console is an error logged)
Adding an image does not work
Adding an image works
Uncaught (in promise) TypeError: canvas is null getFromCanvas tools.js:223 deserialize stamp.js:764 deserialize annotation_editor_layer.js:649 enable annotation_editor_layer.js:262 #enableAll tools.js:1816 updateMode tools.js:1688 updater pdf_viewer.js:2346 set annotationEditorMode pdf_viewer.js:2393 bindEvents app.js:1940 dispatch event_utils.js:115 bindListeners toolbar.js:194 #bindListeners toolbar.js:192 Toolbar toolbar.js:123 _initializeViewerComponents app.js:594 initialize app.js:257 run app.js:688 webViewerLoad viewer.js:261 viewer.js:272 tools.js:223:42 updateMode tools.js:1688 AsyncFunctionThrow self-hosted:804 (Async: async) updater pdf_viewer.js:2346 set annotationEditorMode pdf_viewer.js:2393 bindEvents app.js:1940 dispatch event_utils.js:115 bindListeners toolbar.js:194 (Async: EventListener.handleEvent) #bindListeners toolbar.js:192 Toolbar toolbar.js:123 _initializeViewerComponents app.js:594 initialize app.js:257 InterpretGeneratorResume self-hosted:1413 AsyncFunctionNext self-hosted:800 (Async: async) run app.js:688 webViewerLoad viewer.js:261 viewer.js:272
No response
The text was updated successfully, but these errors were encountered:
Duplicate of #19239
Sorry, something went wrong.
No branches or pull requests
Attach (recommended) or Link to PDF file
example.pdf
Web browser and its version
Firefox 133
Operating system and its version
Windows 10
PDF.js version
4.10.38
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
Go to https://mozilla.github.io/pdf.js/web/viewer.html
Open the attachted example.pdf file
Make sure Page 1 is visible
Scroll to Page 2, make sure Page 1 is not visible anymore
Click on "Add or Edit image" (In the console is an error logged)
Adding an image does not work
What is the expected behavior?
Adding an image works
What went wrong?
Uncaught (in promise) TypeError: canvas is null
getFromCanvas tools.js:223
deserialize stamp.js:764
deserialize annotation_editor_layer.js:649
enable annotation_editor_layer.js:262
#enableAll tools.js:1816
updateMode tools.js:1688
updater pdf_viewer.js:2346
set annotationEditorMode pdf_viewer.js:2393
bindEvents app.js:1940
dispatch event_utils.js:115
bindListeners toolbar.js:194
#bindListeners toolbar.js:192
Toolbar toolbar.js:123
_initializeViewerComponents app.js:594
initialize app.js:257
run app.js:688
webViewerLoad viewer.js:261
viewer.js:272
tools.js:223:42
updateMode tools.js:1688
AsyncFunctionThrow self-hosted:804
(Async: async)
updater pdf_viewer.js:2346
set annotationEditorMode pdf_viewer.js:2393
bindEvents app.js:1940
dispatch event_utils.js:115
bindListeners toolbar.js:194
(Async: EventListener.handleEvent)
#bindListeners toolbar.js:192
Toolbar toolbar.js:123
_initializeViewerComponents app.js:594
initialize app.js:257
InterpretGeneratorResume self-hosted:1413
AsyncFunctionNext self-hosted:800
(Async: async)
run app.js:688
webViewerLoad viewer.js:261
viewer.js:272
Link to a viewer
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: