Skip to content

[Android] ArgumentOutOfRangeException thrown by ScrollTo when group index is invalid #31551

@SyedAbdulAzeemSF4852

Description

@SyedAbdulAzeemSF4852

Description

  • In Android, providing a non-existent group index to the ScrollTo method results in an ArgumentOutOfRangeException.
  • Whereas on Windows and iOS, the call is ignored and no scrolling occurs.
Actual Expected
Android.mov
iOS.mov

Steps to Reproduce

  1. Launch the provided sample on Android.
  2. Tap the "Scroll to Invalid Group" button.
  3. Notice that an exception (ArgumentOutOfRangeException) is raised on Android.

SampleRepo.zip

Link to public reproduction project repository

No response

Version with bug

9.0.100 SR10

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

No response

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-collectionviewCollectionView, CarouselView, IndicatorViewpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/androids/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions