Skip to content

Content doesn't clip correctly inside the Playground #110

Open
@agneszitte

Description

@agneszitte

Current behavior

The content doesn't clip correctly inside the playground area

image

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: )

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/playgroundCategorizes an issue or PR as relevant to the Playgroundkind/bugSomething isn't workingtriage/untriagedIndicates an issue requires triaging or verification.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions