- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.4k
Closed
Labels
Completed 🔥bug 🐛An unexpected issue that highlights incorrect behaviorAn unexpected issue that highlights incorrect behaviorsample app 🖼
Milestone
Description
Describe the bug
While looking at #4548 and seeing if we could reproduce it in the sample app, hit a crash when pasting in the XAML into the sample app...
Regression
No response
Reproducible in sample app?
- This bug can be reproduced in the sample app.
Steps to reproduce
1. Open Sample App
2. Open Attached Drop Shadow sample
3. Replace ScrollViewer with following from #4548
<Grid>
    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="1*"/>
        <ColumnDefinition Width="1*"/>
    </Grid.ColumnDefinitions>
    <Border x:Name="ShadowTarget" Grid.Column="0"/>
    <Border Grid.Column="1" Background="AliceBlue">
        <ui:Effects.Shadow>
            <ui:AttachedDropShadow BlurRadius="60"
                               Color="Black"
                               CastTo="{Binding ElementName=ShadowTarget}"/>
        </ui:Effects.Shadow>
    </Border>
</Grid>
See crash...
Expected behavior
No crash
Screenshots
No response
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
No response
Visual Studio Build Number
No response
Device form factor
No response
Nuget packages
No response
Additional context
No response
Help us help you
Yes, but only if others can assist.
Metadata
Metadata
Assignees
Labels
Completed 🔥bug 🐛An unexpected issue that highlights incorrect behaviorAn unexpected issue that highlights incorrect behaviorsample app 🖼
Type
Projects
Status
Done