-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
area-layoutStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenteri/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionlayout-gridplatform/iosregressed-in-10-preview1s/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
I was upgrading our app to dotnet 10 and after testing on iOS, the app froze a lot of places, with no errors reported or anything.
After some digging i found that with some "magic" configuration (eg. label with font size 18) the app got stuck in some infinite measure loop.
I have tested with 10.0.0, 10.0.10, 10.0.11, 10.0.20, 10.0.30, 10.0.31 and 10.0.40
We have decided to pause our .net 10 upgrade until this is fixed
Steps to Reproduce
- pull the code from the repo, run the code on iOS
- press one of the 3 examples and wait for the quick and dirty loop detector to stop the loop (stopping after 500 size changed)
- The app is unresponsive while the loop is running.
Link to public reproduction project repository
https://github.com/JohnTraDolta/MauiInfiniteMeasureLoopingBug
Version with bug
10.0.40
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
9.0.100 SR10
Affected platforms
iOS
Affected platform versions
iOS 26.1
Did you find any workaround?
Nothing i recommend, but changing Label font size, setting fixed height on labels. Not using GridLength.Auto.
Relevant log output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-layoutStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenteri/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionlayout-gridplatform/iosregressed-in-10-preview1s/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working