wojtekmaj / react-pdf

Display PDFs in your React app as easily as if they were images.
https://projects.wojtekmaj.pl/react-pdf
MIT License
8.97k stars 861 forks source link

white screen error in ios 17.4.1 #1796

Open melisaltunal opened 1 month ago

melisaltunal commented 1 month ago

Before you start - checklist

Description

I want to open my React project in the mobile application, in webView or in any mobile browser. I am using React-pdf and listing the pdfs in the stepper. However, when I open my project on iOS 17.4.1 devices, I get a white screen, or when I perform any scroll operation after it is opened, it turns into a white screen again and users cannot perform any operations.

This problem does not occur on Android devices and web browsers.

Steps to reproduce

Expected behavior

I should open my link in any browser on ios17.4.1 and I should not see a white screen.

Actual behavior

White screen

Additional information

No response

Environment

wojtekmaj commented 1 month ago

Do you have a public project I could look on by any chance?

melisaltunal commented 1 month ago

Sure. I can give you the test link. iOS 17.4.1 must be opened any browser on the device: https://slnktst.fibabanka.com.tr/mobile/new/accor/630F7A09_1320000133211508

When the link opens here, you will encounter this problem as soon as you scroll. The same thing happens when PDFs are opened.

Note: I will remove the link after I get a response from you.