SimpleAppProjects/SimpleWeather-NET

Fix System.InvalidOperationException: ConstraintLayout's parent is Grid,it give ConstraintLayout a infinity size, you set ConstraintLayout have MATCH_PARENT size, ConstraintLayout can't generate correct result. in ICrossPlatformLayout.CrossPlatformMeasure (Double widthConstraint, Double heightConstraint) (/Users/USER/SimpleWeather/SimpleWeather.Maui/Maui/SimpleWeather.Maui/MaciOS/CustomScrollViewHandler.iOS.cs:93)

Closed this issue · 0 comments

Version 5.8.4(858403)

Stacktrace

SimpleWeather.Maui.CustomScrollViewHandler.Microsoft.Maui.ICrossPlatformLayout.CrossPlatformMeasure(Double widthConstraint, Double heightConstraint) in /Users/USER/SimpleWeather/SimpleWeather.Maui/Maui/SimpleWeather.Maui/MaciOS/CustomScrollViewHandler.iOS.cs:line 93;SimpleWeather.Maui.CustomScrollViewHandler.Microsoft.Maui

SimpleWeather.Maui.Program.Main(String[] args) in /Users/USER/SimpleWeather/SimpleWeather.Maui/Maui/SimpleWeather.Maui/Platforms/iOS/Program.cs:line 13;SimpleWeather.Maui

Reason

System.InvalidOperationException: ConstraintLayout's parent is Grid,it give ConstraintLayout a infinity size, you set ConstraintLayout have MATCH_PARENT size, ConstraintLayout can't generate correct result.

Link to App Center