You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
area/webviewCategorizes an issue or PR as relevant to the WebView controldifficulty/medium 🤔Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI
The WebView will always stay the same size no matter what happens to the window. Manually changing the size will provide the same result (nothing)
Expected behavior 🎯
The WebView changes size accordingly
How to reproduce it (as minimally and precisely as possible) 🔬
Fresh Uno project using the latest stable SDK with the only modification being the addition WebView feature and the previously shown MainPage (using C# markup but it should eb the same with XAML)
Workaround 🛠️
Switching the SDK to 6.4.0-dev.79 for example produces the expected result. I didn't test other versions so i'm not sure when this issue first appeared
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.
area/webviewCategorizes an issue or PR as relevant to the WebView controldifficulty/medium 🤔Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI
Activity
DevTKSS commentedon Nov 12, 2025
👍 still works with 6.4.0-dev.51 using xaml + mvux
[-]WebView can't resize[/-][+][C#M] `WebView2` can't resize[/+][-][C#M] `WebView2` can't resize[/-][+][C#M] `WebView2` can't resize on Win32[/+]morning4coffe-dev commentedon Nov 16, 2025
Tested this with multiple configurations, it seems to be indeed related to C# Markup, I can't reproduce this issue with similar UI with XAML.
DevTKSS commentedon Nov 17, 2025
@morning4coffe-dev I dont use c# markup and have this issue too. I attached the repro I was using on
[-][C#M] `WebView2` can't resize on Win32[/-][+][Win32/macOS] `WebView2` resizing issues[/+]morning4coffe-dev commentedon Nov 23, 2025
While working on this, I have noticed a similar issue on macOS with different UI layout:
Screen.Recording.2025-11-23.at.17.01.35.mov
github-actions commentedon Apr 30, 2026
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.