AbsoluteLayout with SizeProportional not working #22195
Labels
area-layout
StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter
layout-absolute
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
When I use the AbsoluteLayout component and define the LayoutFlags property as SizeProportional, my application crashes.
This is the error message:
Message = "Layout cycle detected. Layout could not complete."
The application works if I add to the AbsoluteLayout component the property MaximumHeightRequest.
But, I don't know why I have to add this property and why it's not working without this.
Steps to Reproduce
Link to public reproduction project repository
https://github.com/JavierFajardoSecanda/AbsoluteLayoutMauiTest
Version with bug
8.0.21 SR4.1
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows
Did you find any workaround?
The application works if I add to the AbsoluteLayout component the property MaximumHeightRequest.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: