-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
area-controls-collectionviewCollectionView, CarouselView, IndicatorViewCollectionView, CarouselView, IndicatorViewpartner/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 CollectionView is scrolled programmatically using ScrollTo(index, position: ScrollToPosition.Start, animate: true), the Scrolled event ItemsViewScrolledEventArgs reports an incorrect value for FirstVisibleItemIndex on iOS and MacCatalyst. The reported FirstVisibleItemIndex does not match the index passed to ScrollTo, even after the scroll completes.
Android.mov |
iOS.mov |
Steps to Reproduce
- Run the attached sample CollectionView.zip
- Tap the "ScrollTo" button
- Observe that the incorrect FirstVisibleItemIndex is shown.
Link to public reproduction project repository
No response
Version with bug
10.0.30
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-controls-collectionviewCollectionView, CarouselView, IndicatorViewCollectionView, CarouselView, IndicatorViewpartner/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