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

The process stops when the iPhone loads two pages of a complex PDF. #1338

Closed
4 tasks done
unuz opened this issue Feb 17, 2023 · 2 comments
Closed
4 tasks done

The process stops when the iPhone loads two pages of a complex PDF. #1338

unuz opened this issue Feb 17, 2023 · 2 comments
Labels
bug Something isn't working stale

Comments

@unuz
Copy link

unuz commented Feb 17, 2023

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

The process stops when the iPhone loads two pages of a complex PDF.

The first time it loads it's fine, but when I change state and reload the page the process stops.

Is there any way to solve this problem?

What the hell am I doing wrong?

This is my some code.

image

Steps to reproduce

Load the page.

Change state.

Repeat state change.

problem occurred

F6CD52AE-B711-431A-9ADC-376463669373

BC3CD443-2FDE-40FD-BC23-8777329F3A07

02581C5C-C1AE-4CE7-92CB-B71176FB6A70

스크린샷 2023-02-17 10 29 06

Expected behavior

The page should render normally.

Actual behavior

The page does not render and the process hangs.

Additional information

No response

Environment

  • Browser (if applicable): safari, chrome,
  • React-PDF version: 6.2.0
  • React version: 18.2.0
  • OS: ios 16.2
@unuz unuz added the bug Something isn't working label Feb 17, 2023
@github-actions
Copy link
Contributor

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.

@github-actions github-actions bot added the stale label May 22, 2023
@wojtekmaj
Copy link
Owner

wojtekmaj commented Jun 6, 2023

You may need to limit the resolution, as on iPhones it quickly can reach enormous values.

See #1149 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

2 participants