-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Open
Labels
Description
Attach (recommended) or Link to PDF file
firefox_pdf_zoom.mp4
Web browser and its version
Firefox 146.0.1
Operating system and its version
Manjaro
PDF.js version
v5.4.624
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
- Use custom
userContent.css:#viewer { filter: invert(100%) hue-rotate(180deg) !important; }
- Zoom in
- Keep zooming in until PDF page overflows display width
- Observe odd behavior of zooming in to the first page top left corner instead of zooming in to the current cursor location
- Zoom out and repeat
What is the expected behavior?
Zooming in to the cursor location on the current page
Zooming out from the cursor location on the current page
What went wrong?
Zooming in to the top left location of the first page
Zooming out from the top left location of the first page
Link to a viewer
No response
Additional context
Same on this page https://mozilla.github.io/pdf.js/web/viewer.html
Reactions are currently unavailable