url: https://codesandbox.io/p/devbox/quizzical-colden-2mnx9k
Description
When using embed-pdf-viewer on mobile Safari, zooming the PDF (pinch zoom) to a certain level causes the entire page to refresh/reload unexpectedly.
This happens even with a very small PDF file (only 6 pages), and even when maxZoom is set to a low value (e.g., 2).
Steps to Reproduce
- Open the page in Safari (iOS)
- Load a PDF (6 pages in my case)
- Use pinch gesture to zoom in
- After zooming to a certain level, the page suddenly refreshes
Expected Behavior
- PDF should zoom smoothly within the defined
maxZoom range
- The page should not refresh or reload
Actual Behavior
- After zooming in (pinch gesture), the entire webpage refreshes
- This interrupts the viewing experience and resets the PDF state
url: https://codesandbox.io/p/devbox/quizzical-colden-2mnx9k
Description
When using embed-pdf-viewer on mobile Safari, zooming the PDF (pinch zoom) to a certain level causes the entire page to refresh/reload unexpectedly.
This happens even with a very small PDF file (only 6 pages), and even when
maxZoomis set to a low value (e.g.,2).Steps to Reproduce
Expected Behavior
maxZoomrangeActual Behavior