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
When AttachedCardShadow.InnerContentClipMode is set to CompositionMaskBrush, and the size of the element it's attached to changes, the shadow isn't properly resized to match.
Regression
No response
Reproducible in sample app?
This bug can be reproduced in the sample app.
Steps to reproduce
1. Create a new blank UWP app.
2. Add a `Rectangle` to `MainPage.xaml`.
3. Attach an `AttachedCardShadow` to the `Rectangle` and set `InnerContentClipMode` to `CompositionMaskBrush`
4. Implement some way to change the size of the `Rectangle` (e.g. have it change size on click)
5. Observe that when the size of the `Rectangle` changes, some of the elements that make up the shadow do not change size to match, leading to a glitched appearance.
Expected behavior
All elements of the shadow should change size to match the UIElement it's attached to, without a glitched appearance.
Screenshots
Before the Rectangle is resized
After the Rectangle is resized
Windows Build Number
Windows 10 1809 (Build 17763)
Windows 10 1903 (Build 18362)
Windows 10 1909 (Build 18363)
Windows 10 2004 (Build 19041)
Windows 10 20H2 (Build 19042)
Windows 10 21H1 (Build 19043)
Windows 11 21H2 (Build 22000)
Other (specify)
Other Windows Build number
No response
App minimum and target SDK version
Windows 10, version 1809 (Build 17763)
Windows 10, version 1903 (Build 18362)
Windows 10, version 1909 (Build 18363)
Windows 10, version 2004 (Build 19041)
Other (specify)
Other SDK version
No response
Visual Studio Version
2022
Visual Studio Build Number
No response
Device form factor
Desktop
Nuget packages
No response
Additional context
No response
Help us help you
Yes, I'd like to be assigned to work on this item.
The text was updated successfully, but these errors were encountered:
Hello Ryken100, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌
Describe the bug
When
AttachedCardShadow.InnerContentClipMode
is set toCompositionMaskBrush
, and the size of the element it's attached to changes, the shadow isn't properly resized to match.Regression
No response
Reproducible in sample app?
Steps to reproduce
Expected behavior
All elements of the shadow should change size to match the
UIElement
it's attached to, without a glitched appearance.Screenshots
Before the Rectangle is resized
![image](https://user-images.githubusercontent.com/26424620/176260309-742a4017-8fd3-4a6c-9cda-b6f2586b784a.png)
After the Rectangle is resized
![image](https://user-images.githubusercontent.com/26424620/176260554-28f0596e-e595-4597-bade-a6342a814a79.png)
Windows Build Number
Other Windows Build number
No response
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
2022
Visual Studio Build Number
No response
Device form factor
Desktop
Nuget packages
No response
Additional context
No response
Help us help you
Yes, I'd like to be assigned to work on this item.
The text was updated successfully, but these errors were encountered: