Skip to content

[Bug]: Pinch to zoom on mobile is very buggy #20480

@federicocappellotto97

Description

@federicocappellotto97

Attach (recommended) or Link to PDF file

If i open your demo on my iPhone 14 Pro, using Brave browser, pinch to zoom is unusable. Zooming on a point the pdf randomly jumps and the zoom is not smooth, not allowing me to focus on the part i want to zoom on.
This also happens my pdf player using your library.

2025-12-04.17.45.48.mp4

Web browser and its version

Brave

Operating system and its version

iOS 26

PDF.js version

latest

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

  1. Open the demo
  2. Pinch to zoom

What is the expected behavior?

Smooth zoom on the wanted point

What went wrong?

Zoom is not working good

Link to a viewer

https://mozilla.github.io/pdf.js/web/viewer.html

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions