Skip to content

[macOS] RenderTransforms are not applied on initial load #2971

Closed

Description

@MartinZikmund

Current behavior

UIElement with RenderTransform declared in XAML initially shows up without any transform. Any change then applies the transform.

Expected behavior

Transforms should be applied immediately.

How to reproduce it (as minimally and precisely as possible)

Samples app Transform sample Basic_Automated.

Environment

Nuget Package:

Package Version(s):

Affected platform(s):

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renderers for Xamarin.Forms
  • macOS
  • Windows
  • Build tasks
  • Solution Templates

Visual Studio:

  • 2017 (version: )
  • 2019 (version: )
  • for Mac (version: )

Relevant plugins:

  • Resharper (version: )

Anything else we need to know?

Activity

  1. added
    kind/bug
    triage/untriaged
    platform/macos 🍏
    and removed
    triage/untriaged
    on Apr 10, 2020
  2. MartinZikmund commented on Apr 10, 2020

    @MartinZikmund
    MemberAuthor

    I have spend over an hour on this but without success so far :-( . Maybe someone will be more lucky. The problem is probably the same as here. Unfortunately even putting a "re-initialization" step within DidMoveToSuperview did not do the trick, whereas adding any small delay (Task.Delay) before the operation had fixed the problem.

  3. MartinZikmund commented on Aug 10, 2020

    @MartinZikmund
    MemberAuthor

    @dr1rrb Am I assuming correctly that your PR fixes this issue?

  4. dr1rrb commented on Aug 10, 2020

    @dr1rrb
    Member

    Yes @MartinZikmund , I didn't saw this issue, it has been fixed by #3759. Even if I'm not really satisfied by the code, it seems that we don't have any other options on macOS, so I'm closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugplatform/macos 🍏

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions