Open Natriss opened 3 months ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Having the same issue. After adding SystemBackdrop
the rounded corner is lost. A better solution would be just adding CornerRadius
to WebView2
control itself.
Describe the bug
When putting a WebView2 Element in a Border with a CornerRadius. The Border will cut off the corners of the WebView2 Element. When applying a SystemBackdrop to the Window the WebView2 ignores the Border its CornerRadius.
Steps to reproduce the bug
Expected behavior
The WebView2 Element shouldn't come out of the Border and ignores the CornerRadius of the Border.
Screenshots
Without a SystemBackdrop![Schermafbeelding 2024-04-04 221440](https://github.com/microsoft/microsoft-ui-xaml/assets/80769556/4720040d-c359-46da-aa49-7e8b0dcc17a4)
With a SystemBackdrop![Schermafbeelding 2024-04-04 221517](https://github.com/microsoft/microsoft-ui-xaml/assets/80769556/48f1232b-94b2-4db2-a50d-111ef71c7e79)
NuGet package version
WinUI 3 - Windows App SDK 1.5.1: 1.5.240311000
Windows version
Windows 11 (22H2): Build 22621
Additional context
MainWindow
<Window x:Class="App7.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:App7" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
MainWindow Code-Behind
BlankPage1
<Page x:Class="App7.Views.BlankPage1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:App7.Views" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">