Skip to content

[Android] LayoutUpdated may be invoked twice #2769

Closed as not planned
Closed as not planned

Description

@jeromelaban

Current behavior

The FrameworkElement.LayoutUpdated event may be raised twice. This is caused by:

Expected behavior

The event is invoked once.

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

See the When_LayoutUpdated test.

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
    on Mar 10, 2020
  2. modified the milestone: 3.1 on Aug 29, 2020
  3. added
    project/layout 🧱
    on Sep 21, 2020
  4. added
    difficulty/tbd
    on Feb 15, 2021
  5. added
    difficulty/starter 🚀
    and removed
    difficulty/tbd
    on Jun 1, 2021
  6. changed the title [-][Android] LayoutUpdated may be invoked twice[/-] [+][Android] `LayoutUpdated` may be invoked twice[/+] on Jun 12, 2023
  7. added
    platform/android 🤖
    on Jun 12, 2023
  8. Youssef1313 commented on Sep 17, 2024

    @Youssef1313
    Member

    This will likely be fixed by #18261

  9. MartinZikmund commented on Jul 17, 2025

    @MartinZikmund
    Member

    No longer relevant to Skia renderer targets

  10. github-actions commented on May 5, 2026

    @github-actions
    Contributor

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.

  11. locked as resolved and limited conversation to collaborators on May 5, 2026
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

    difficulty/starter 🚀kind/bugplatform/android 🤖project/layout 🧱

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions