-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
area-controls-collectionviewCollectionView, CarouselView, IndicatorViewCollectionView, CarouselView, IndicatorViewcollectionview-cv2i/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.0s/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
The elements in a CollectionView that uses CollectionViewHandler2 will get its parent removed if the ItemsSource changes. Thus, Source bindings is not usable anymore.
Steps to Reproduce
- Clone https://github.com/Vetle444/MauiTestApp/tree/collectionView2ParentBug/MauiTestApp
- Make sure you are on branch: collectionView2ParentBug
- Run app
- Click
Bug
button - Click the
Reverse
button, observe that the Parent of some elements will get nullified.
Link to public reproduction project repository
https://github.com/Vetle444/MauiTestApp/tree/collectionView2ParentBug/MauiTestApp
Version with bug
9.0.70 SR7
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
protected override void OnParentChanged()
{
base.OnParentChanged();
if (Parent is not null)
{
m_parent = Parent;
}
Parent = m_parent;
}
Relevant log output
Metadata
Metadata
Assignees
Labels
area-controls-collectionviewCollectionView, CarouselView, IndicatorViewCollectionView, CarouselView, IndicatorViewcollectionview-cv2i/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.0s/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
Type
Projects
Status
Todo