- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.9k
 
Open
Labels
area-controls-scrollviewScrollViewScrollViewi/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/iosregressed-in-9.0.50s/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
On iOS, when using a ScrollView containing a StackLayout, removing child views from the StackLayout at runtime does not cause the ScrollView to recalculate its layout bounds. As a result, the scrollable area remains larger than the actual content, leading to layout issues such as excessive blank space.
Kindly check the sample below for the issue replication:
IssueReplicationSample.zip
Steps to Reproduce
Steps to reproduce the behavior:
- Create a ScrollView with a StackLayout inside it.
 - Dynamically add several Label views to the StackLayout at runtime.
 - Remove one or more Label views from the StackLayout.
 - Observe that the ScrollView does not shrink or update its bounds accordingly on iOS.
 
Expected behavior
The ScrollView should automatically resize to fit the updated content size when child views are added or removed from the StackLayout.
Link to public reproduction project repository
No response
Version with bug
9.0.110 SR12
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
9.0.40
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
Metadata
Metadata
Assignees
Labels
area-controls-scrollviewScrollViewScrollViewi/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/iosregressed-in-9.0.50s/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