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

[performance]: The putBinaryImageData function takes too long and blocks page interaction. #18088

Closed
lu606 opened this issue May 14, 2024 · 4 comments · Fixed by #18910
Closed

Comments

@lu606
Copy link

lu606 commented May 14, 2024

Attach (recommended) or Link to PDF file here:
example.pdf

Configuration:

  • Web browser and its version: chrome version: 124.0.6367.208
  • Operating system and its version: win 11
  • PDF.js version: 3.4.120

Steps to reproduce the problem:

  1. Render a 30+ page PDF document in a 200 × 200 container
  2. After calling the pdfPage rendering function, the page becomes unresponsive.

What is the expected behavior?
Render normally without blocking user behavior

What went wrong? (add screenshot)
image
image

@Snuffleupagus
Copy link
Collaborator

PDF.js version: 3.4.120

That version is no longer supported, please find the latest releases at https://mozilla.github.io/pdf.js/getting_started/#download

@calixteman calixteman self-assigned this May 14, 2024
@calixteman
Copy link
Contributor

I can reproduce the issue with Firefox nightly and I think I've a fix.

@lu606
Copy link
Author

lu606 commented May 16, 2024

I can reproduce the issue with Firefox nightly and I think I've a fix.

This sounds like good news, which version should I upgrade to and give it a try? Is it the latest stable version?

@lu606

This comment was marked as off-topic.

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

Successfully merging a pull request may close this issue.

4 participants