Skip to content

[Problem/Bug]: PDF Viewer doesn't support Zooming (UI or Keyboard) #5234

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

Open
RickStrahl opened this issue May 8, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@RickStrahl
Copy link

RickStrahl commented May 8, 2025

What happened?

When opening a PDF file in the WebView2 viewer the PDF document cannot be zoomed, either with the toolbar buttons or via Ctrl-+- or Ctrl ScrollWheel. Same WebView works zooming HTML content.

Image

In the Screencap both panes are WebView controls and you can see that Html document content can zoom just fine in both panes.

However when opening a PDF neither scroll zoom/ctrl-+ or - works and neither do the controls on the PDF viewer. Everything else in the PDF Viewer appears to work however (ie. paging, sidebar toc etc.) - only thing that appears to not work is the resizing.

Markdown Monster v3.7.5
.NET 9.0.4 • x64
Microsoft Windows 10.0.26100 • x64 • en-US
WebView Runtime: 136.0.3240.50
WebView Sdk: 1.0.3179.45

Importance

Moderate. My app's user experience is affected, but still usable.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

136.0.3240.50

SDK Version

1.0.3179.45

Framework

----Please select----

Operating System

Windows 11

OS Version

10.0.26100

Repro steps

Drop a WebView on a form
Open a PDF file from disk or the Web

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Don't know

Last working version (if regression)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant