-
Notifications
You must be signed in to change notification settings - Fork 679
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
Acrylic Brush doesn't work in combobox #9523
Comments
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! Open similar issues:
Closed similar issues:
|
This comes from Composition differences in WinAppSDK. It looks Combobox styles attempt to set an acrylic background by using |
@codendone If I use SystemBackdrop in ComboBox style, it will show a transparent background. Any idea? <StaticResource x:Key="ComboBoxDropDownBackground" ResourceKey="DesktopAcrylicTransparentBrush" />
|
@shatyuka You'll need to specify ShouldConstrainToRootBounds="False" on that popup as well. That will allow the popup to escape the bounds of its island (e.g. the ComboBox dropdown can go outside the window bounds), and lets the SystemBackdrop render desktop acrylic. |
Isn't it the default?
Or you mean we should set it in xaml? |
Describe the bug
I defined a ComboBox and saw that acrylic brush doesn't work in the Popup list of the ComboBox.
Steps to reproduce the bug
Expected behavior
No response
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.5.1: 1.5.240311000
Windows version
Windows 11 (22H2): Build 22621, Windows 11 (21H2): Build 22000
Additional context
No response
The text was updated successfully, but these errors were encountered: