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

PDF generation freezes browser tab #2834

Open
xbrny opened this issue Aug 1, 2024 · 1 comment
Open

PDF generation freezes browser tab #2834

xbrny opened this issue Aug 1, 2024 · 1 comment

Comments

@xbrny
Copy link

xbrny commented Aug 1, 2024

Describe the bug
PDF generation freezes browser tab

To Reproduce

  1. Open this react-pdf REPL
  2. Uncomment this line (8): // marginBottom: 32,

For now, I'm using paddingBottom instead of marginBottom as a workaround.

Expected behavior
Should be able to generate and load the PDF

Screenshots

Note that the preview is greyed out due to being unresponsive:

image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Microsoft Edge
  • React-pdf version: using REPL
@garmyhr
Copy link

garmyhr commented Aug 7, 2024

We also experience this issue with PDF generation. Our application runs in a linux environment, and the bug happens in both Chrome and Firefox. We use @react-pdf/renderer version 3.3.8

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

No branches or pull requests

2 participants