-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
area-layoutStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterlayout-absolutepartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/iosplatform/macosmacOS / Mac CatalystmacOS / Mac Catalysts/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
When a BoxView inside an AbsoluteLayout is defined with AutoSize for width and height, and later its bounds are changed to explicit values and then reset back to AutoSize, the reset fails on iOS. Its width and height remain fixed to the explicit values instead of recalculating back to the default AutoSize.
Expected Output | Actual Output |
---|---|
Screen.Recording.2025-09-05.at.3.39.51.PM.mov |
Screen.Recording.2025-09-05.at.3.53.09.PM.mov |
Steps to Reproduce
- Run the attached sample MauiApp9.zip
- Add a BoxView inside an AbsoluteLayout with AbsoluteLayout.LayoutBounds="0,0,AutoSize,AutoSize".
- Tap Change Bounds button to change Layoutbounds value.
- Tap Reset button and observe that Height and Width are not reset to AutoSize in iOS and Catalyst.
Expected Behavior:
On reset, the BoxView should return to its initial size as defined by AutoSize.
Actual Behavior:
On iOS, the width and height remain stuck at the last explicitly set values.
Link to public reproduction project repository
No response
Version with bug
9.0.100 SR10
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
iOS, macOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
Metadata
Metadata
Assignees
Labels
area-layoutStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterStackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenterlayout-absolutepartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/iosplatform/macosmacOS / Mac CatalystmacOS / Mac Catalysts/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