-
Notifications
You must be signed in to change notification settings - Fork 710
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
WebView in ContentDialog does not work. #6427
Comments
Reporting two unrelated thing as one bug. I can't replicate the WebView bug mentioned in the title on Windows 11. In seems to be behaving correctly and opening the links in the browser. It is possible that you have uninstalled Edge, which could create problems like the one you are seeing. The |
@chingucoding HELP PLEASE. |
after remove |
So it seems that the corner radius being set with the WinUI styles is causing this issue. If you add the following to your if(ApiInformation.IsApiContractPresent("Windows.Foundation.FoundationContract", 7))
{
_verificationDialog.CornerRadius = new CornerRadius(0);
} |
@chingucoding when will you fix it please? |
@HppZ I am not working for Microsoft so I can't tell you when this will be fixed. The problem is that the issue probably somewhere in WebView which means there isn't much one can do here beside using the workaround. |
@chingucoding Thank you. |
This is a duplicate of #5299 The issue is in system xaml and has been fixed for later versions of windows however is still present for some Win10 versions. Resolving this issue is challenging and Chingucoding's suggestion of removing the corner radius is the best work around we have. |
Describe the bug
links buttons in webview are not clickable.
Steps to reproduce the bug
1, run the demo in release mode.
2, click links in webview (not clickable).
3, after remove
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
, it works.BUG.zip
Expected behavior
No response
Screenshots
NuGet package version
Microsoft.UI.Xaml 2.7.0
Windows app type
Device form factor
Desktop
Windows version
October 2020 Update (19042)
Additional context
No response
The text was updated successfully, but these errors were encountered: