-
-
Notifications
You must be signed in to change notification settings - Fork 419
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
Page shift on zooming #1127
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report or Feature Request (mark with an
x
)The issue is present in the latest version of the library, 10.2.2. The first version where the issue is not present is 10.0.0.
OS: Mac OS 14.3.1 (23D60)
Browser: Chrome, Firefox and Safari
Problem Description: When zooming (in or out) on the document, something strange happens.
If you look closely, you can see that the document shifts to the left, and at times, a horizontal scrollbar appears.
When you scroll the document, the PDF is centered back, and everything works as expected.
The problem is more evident when zooming out.
The described issue is also present on the demo page: https://vadimdez.github.io/ng2-pdf-viewer/
In the following image, the PDF is aligned to the left after zooming out. Scrolling the page restores the PDF to the center.
The text was updated successfully, but these errors were encountered: