Skip to content

[iOS] Crash occurred on CarouselView2 when deleting last one remaining item with loop as false #31535

@Ahamed-Ali

Description

@Ahamed-Ali

Description

When looping is disabled and the last remaining one item is removed from CarouselView2, it causes an ObjCRuntime.ObjCException with the error: attempt to delete item 2 from section 0 which only contains 1 item before the update

Video :

CrashOccuredoncv2loopfalse.mov

Steps to Reproduce

CarouselView2RemoveIssue.zip download this .

Click Add item and then click remove the item , you can observe the crash as described in the above video

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

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 18.0

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

Labels

area-controls-collectionviewCollectionView, CarouselView, IndicatorViewcollectionview-cv2i/regressionThis issue described a confirmed regression on a currently supported versionp/0Work that we can't release withoutpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/iosregressed-in-9.0.80s/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

Type

No type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions