Skip to content

Layout issue using TranslateToAsync causes infinite property changed cycle on iOS #32586

@Axemasta

Description

@Axemasta

Description

After upgrading my app to .NET 10 I found that one page with a custom UI component stopped working, it appeared like the UI had crashed but there were no failing tasks, I have found that after translating a view it causes an infinite property changed cycle, causing the animation task to never complete and the UI of the app to be deadlocked.

I have an extensive write up of this in my reproduction app.

This could potentially be an issue with the way in which my FooterView has been implemented, however it is a very simple container style view which I have used extensively since the days of Forms so I doubt it is me. It also works on Android so that points to an issue in the iOS layout engine that gets exposed when applying translations.

Steps to Reproduce

  • Download the sample app
  • Follow the instructions to observe the behavior working on net9 & not on net10

Link to public reproduction project repository

https://github.com/Axemasta/MauiRepros/tree/main/src/TranslateToNet10

Version with bug

10.0.10

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

9.0.120 SR12

Affected platforms

iOS

Affected platform versions

All tested

Did you find any workaround?

It is mentioned in the provided repo, no workarounds that include both the animation and the custom FooterView. Either don't use animations or don't use your container view!

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    i/regressionThis issue described a confirmed regression on a currently supported versionpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/iosregressed-in-10-preview1s/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions