Open
Description
Current behavior
The content doesn't clip correctly inside the playground area
Expected behavior
The content should clip correctly
How to reproduce it (as minimally and precisely as possible)
<Grid>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup>
<VisualState>
<VisualState.StateTriggers>
<StateTrigger IsActive="True" />
</VisualState.StateTriggers>
<Storyboard>
<!-- TEST ANIMATION TRANSLATE TRANSFORM-->
<DoubleAnimationUsingKeyFrames Duration="0:0:10"
RepeatBehavior="Forever"
Storyboard.TargetName="TestTranslateTransform"
Storyboard.TargetProperty="X">
<LinearDoubleKeyFrame Value="-200"
KeyTime="0:0:0" />
<LinearDoubleKeyFrame Value="0"
KeyTime="0:0:5" />
<LinearDoubleKeyFrame Value="200"
KeyTime="0:0:10" />
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Rectangle Height="100"
Width="200"
Fill="Red"
VerticalAlignment="Center"
HorizontalAlignment="Center">
<Rectangle.RenderTransform>
<TranslateTransform x:Name="TestTranslateTransform"
X="-400" />
</Rectangle.RenderTransform>
</Rectangle>
</Grid>
Snippet inside the playground : https://playground.platform.uno/#b3369d44
Environment
Nuget Package: Uno.UI
Package Version(s): 2.0.532
Affected platform(s):
- iOS
- Android
- WebAssembly (Playground ONLY)
- Windows
- Build tasks
Visual Studio
- 2017 (version: )
- 2019 (version: 16.4.6)
- for Mac (version: )