-
-
Notifications
You must be signed in to change notification settings - Fork 164
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
White screen on first load #194
Comments
@SBRKH Have you gotten any resolution? I’ve the same versions and same behavior, |
@SBRKH Thanks for the info, but since m white screen only happened intermittently, I believe that my problem was a simple RN timing/state bug, which I hope I just fixed with a tweak in my code. I have to wait on someone else to test. If that’s not my solution, I’m in trouble because the other fixes don’t work for me. |
@maskowe Can u share me your tweak please ? Even with the solution a told you, I've the bug.... |
@SBRKH Unfortunately, it reappeared on a preview install on my android pixel. I'm trying to come up with a solution -- I'll post here if I get something. |
@SBRKH Ok - Evidently this was my own bug - I was awaiting Image.getSize (react native) incorrectly. Also, the original problem was also self-induced by bad timing for state variables. |
@maskowe Looks like my problem was a bad timing too... I need to apply a little sleep before set my loader to false and show the pdf. |
Fixed with this thread : https://stackoverflow.com/questions/68067668/react-native-webview-rendering-blank-page |
Issue Description
Hello,
I display my pdfs in a modal.
When I load a pdf for the first time, I get a blank screen. I have to close the modal and then reopen it to see the pdf displayed correctly...
I can't figure out what I'm doing wrong or where this problem might be coming from.
Steps to Reproduce / Code Snippets
Expected Results
The pdf is displayed normally the first time
Additional Information
Thank you for your help !
The text was updated successfully, but these errors were encountered: