Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content doesn't clip correctly inside the Playground #110

Open
2 of 8 tasks
agneszitte opened this issue Mar 12, 2020 · 3 comments
Open
2 of 8 tasks

Content doesn't clip correctly inside the Playground #110

agneszitte opened this issue Mar 12, 2020 · 3 comments
Labels
area/playground Categorizes an issue or PR as relevant to the Playground kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification.

Comments

@agneszitte
Copy link
Contributor

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: )
@agneszitte agneszitte added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification. area/playground Categorizes an issue or PR as relevant to the Playground labels Mar 12, 2020
@agneszitte
Copy link
Contributor Author

Other issue using the same snippet: #100

@agneszitte
Copy link
Contributor Author

I'm still able to reproduce the issue on the latest Playground version and also on the latest Playground canary version.

@agneszitte
Copy link
Contributor Author

state at the moment
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/playground Categorizes an issue or PR as relevant to the Playground kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification.
Projects
None yet
Development

No branches or pull requests

1 participant