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

in some ios device, render pdf page outline, but has no content like white pdf #1874

Open
4 tasks done
chenchunyang123 opened this issue Sep 11, 2024 · 1 comment
Open
4 tasks done
Labels
bug Something isn't working

Comments

@chenchunyang123
Copy link

chenchunyang123 commented Sep 11, 2024

Before you start - checklist

  • I followed instructions in documentation written for my React-PDF version
  • I have checked if this bug is not already reported
  • I have checked if an issue is not listed in Known issues
  • If I have a problem with PDF rendering, I checked if my PDF renders properly in PDF.js demo

Description

In the PC browser and Android, the PDF renders normally; however, in certain versions of iOS, there are rendering issues. Currently, discrepancies have been observed in version 15.5, while versions above 17 seem to be functioning normally for now.
I have tried all the error-catching callbacks, but no errors were triggered.There are no error messages in the web console either.
If i change renderMode to svg, is render success, is canvas bug?

Steps to reproduce

render error

Expected behavior

render success

Actual behavior

in ios15.5 safari, the pdf page is white

Additional information

IMG_6806

Environment

  • Browser (if applicable): ios 15.5
  • React-PDF version: 7.7.3
  • React version:^17.0.0
  • Bundler name and version (if applicable):
@chenchunyang123 chenchunyang123 added the bug Something isn't working label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@chenchunyang123 and others