Skip to content

[Bug]: PDF page drifts towards left while zooming #20075

Open
@Aditi-1400

Description

@Aditi-1400

Attach (recommended) or Link to PDF file

compressed.tracemonkey-pldi-09.pdf

(Can be reproduced with any PDF)

Web browser and its version

Firefox 140.0.4 (aarch64)

Operating system and its version

MacOS 15.5

PDF.js version

v5.3.31

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

Yes

Is a browser extension

No

Steps to reproduce the problem

Try zooming in and out on a touch screen device.

What is the expected behavior?

PDFs should zoom in smoothly

What went wrong?

The zoom is laggy and there's a left drift while zooming in.

Bug.mp4

Link to a viewer

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions