Open
Description
Describe the bug
AttachedCardShadow not working with corner radius if the container contains any element.
Steps to Reproduce
- create new Windows App SDK 1.0 project
- add the code as in the screenshot attached
Expected behavior
shadow should be applied in the stackpanel even if there is a corner radius.
Environment
NuGet Package(s): CommunityToolkit.WinUI.UI.Media
Package Version(s): 7.1.2
Windows 10 Build Number:
- Fall Creators Update (16299)
- April 2018 Update (17134)
- October 2018 Update (17763)
- May 2019 Update (18362)
- May 2020 Update (19041)
- Insider Build ({build_number})
- Windows 11
App min and target version:
- Fall Creators Update (16299)
- April 2018 Update (17134)
- October 2018 Update (17763)
- May 2019 Update (18362)
- May 2020 Update (19041)
- Insider Build ({build_number})
Device form factor:
- Desktop
- Xbox
- Surface Hub
- IoT
Visual Studio version:
- 2017 (15.{minor_version})
- 2019 (16.{minor_version})
- 2022 (17.1.0 Preview 1.1)