Skip to content

PDF Viewer does not support page=Fit (only FitV or FitH works) #381

@BenjyTec

Description

@BenjyTec

I found that the Edge PDF Viewer does not allow to display a PDF so that its first page fully fits into the window (no part of the PDF is out of the viewport) while using the URL parameter view=Fit.

You can use the following URL to verify:

https://creativelab.berkeley.edu/wp-content/uploads/2019/12/1920X1080-HORIZONTAL-template.pdf#page=1&view=Fit

Case 1

When the window width gets too small, the window will display a horizontal scrollbar instead of scaling the PDF to fit the width:

Image

When I use FitH, this specific case works.

Case 2

When the window height gets too small, the window will display a vertical scrollbar instead of scaling the PDF to fit the height:

Image

When I use FitV, this specific case works.

Expectation

PDF_Resize.mp4

With Fit, both cases should be respected, but in fact no case is working. When I test the same parameters in other Browsers that use a Chromium engine, it works.

Setup:

Microsoft Edge Version 141.0.3537.85 (Official Build) (64-Bit)
Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions