Closed mntan closed 7 years ago
PDF.js version has been set up: v1.1.469
First of all, that version is almost two years old. Please update to the latest release, see https://github.com/mozilla/pdf.js/releases, and check if the issue still exists.
I'm wondering could I have an advice to address the problem above?
Since this appears to be a custom deployment of PDF.js, as asked for in both ISSUE_TEMPLATE.md and CONTRIBUTING.md, please provide access to a working example since otherwise we cannot help.
Closing since the issue is incomplete. Provide the information requested above to reopen.
Hi guys,
I've tested opening a file through the PDFView at the browser console via code line:
The result:
The content of file didn't appear on the production site, but on the local environment setup the content of file has appeared.
Then I resize my browser or execute the code line
PDFViewerApplication.pdfViewer.update()
in the browser console, the content of file has appeared in the production environment.Some questions:
I'm wondering could I have an advice to address the problem above?
As I know if the content of a file is rendered, the event
pagerendered
will be fired. And We can base on it to do many other logics behind it. I'm wondering, when does the eventpagerendered
not fired? Which scenarios can cause this problem if that happens?Some more detail:
v1.1.469
59.0.3071.115
As In the log in the browser console that I have seen some these things:
{loaded: 3867, total: 214058} 0.01806519728297938
, ...,{loaded: 262144, total: 214058} 1.2246400508273458
but I think that is no matter with the problem on opening a file.