Skip to content

[Windows] KeepLastItemInView Behavior Not Working as Expected in CarouselView #29420

@NafeelaNazhir

Description

@NafeelaNazhir

Description

The KeepLastItemInView mode of the ItemsUpdatingScrollMode property in the CarouselView is not functioning as expected on Windows. When the Items are added , the last item in the CarouselView is not kept in view.

  • When Loop is false: If the visible content is already at the first position and new items are added , the CarouselView scrolls to the secondlast item instead of the last item. However, if the user scrolls to a certain position and then adding items, the Carouselview correctly scrolls to the last item.
  • When Loop is true: When the Items are added , the last item in the CarouselView is not kept in view and the position changes unpredictably.
Screen.Recording.2025-05-09.161425.mp4

Steps to Reproduce

  1. Run the attached sample CarouselViewIssue 10.zip
  2. Set the ItemsUpdatingScrollMode property to KeepLastItemInView.
  3. Add the items and observe the behavior.

Expected Behavior
When the Items are added, the CarouselView should automatically scroll to and keep the last item in view.

Link to public reproduction project repository

No response

Version with bug

9.0.60 SR6

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

No response

Affected platforms

Windows

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/windowss/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