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
Zoom should be centered #7512
Comments
The behaviour you describe is used when zooming is done with a mouse or trackpad (using
However, I do not agree that all zooming (e.g. with the toolbar buttons) should behave that way. |
To zoom to something specific the user has to do: zoom, scroll, zoom, scroll, ... which is very unhandy. Similar "big" software that zooms into center on zoom-in-button click:
All of them are much more frequently used than Adobe Reader which lead into the described expected behavior. Im pretty sure additional user-tests would confirm this. |
I'm having this problem as well. Also, looking forward to adding mobile-zoom via pinch, it's necessary that pdf.js can zoom using any point as the zoom's center. |
That's already tracked in issue #2582. Closing as WONTFIX, given the points mentioned in #7512 (comment). |
Currently when zooming the page-scroll stays the same.
The expected behavior should be a centered zoom to the middle of the viewport. (Example: Google Maps)
A scrolling, according to viewport, needs to be added.
Initial situation:
Current behavior:
Expected behavior:
The text was updated successfully, but these errors were encountered: