Skip to content
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

[Problem/Bug]: WebView2 size shrinks when resolution changes #4949

Open
chrisdyan opened this issue Nov 26, 2024 · 0 comments
Open

[Problem/Bug]: WebView2 size shrinks when resolution changes #4949

chrisdyan opened this issue Nov 26, 2024 · 0 comments
Assignees
Labels
bug Something isn't working regression Something used to work but doesn't anymore

Comments

@chrisdyan
Copy link

What happened?

WebView2 size shrinks, when there is resolution change, just like connect / disconnect external monitors, change resolution, change dpi.

Importance

Important. My app's user experience is significantly compromised.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

131.0.2903.63

SDK Version

1.5.240607001

Framework

WinUI3/WinAppSDK

Operating System

Windows 11

OS Version

26100.1586

Repro steps

  1. Run app, wait until page load finished.
  2. Plugin an external monitor, then resolution change happens.
  3. See app webview2 ui, webview2 size is smaller than the window, as it should be full filled whole window.
    webview2-extended-display

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Regression in newer Runtime

Last working version (if regression)

130.0.2849.80

@chrisdyan chrisdyan added the bug Something isn't working label Nov 26, 2024
@github-actions github-actions bot added the regression Something used to work but doesn't anymore label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression Something used to work but doesn't anymore
Projects
None yet
Development

No branches or pull requests

2 participants