Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
NafeelaNazhir opened this issue May 9, 2025 · 2 comments · May be fixed by #29550
Open

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

NafeelaNazhir opened this issue May 9, 2025 · 2 comments · May be fixed by #29550
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView partner/syncfusion Issues / PR's with Syncfusion collaboration platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@NafeelaNazhir
Copy link
Contributor

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

@NafeelaNazhir NafeelaNazhir added the t/bug Something isn't working label May 9, 2025
@dotnet-policy-service dotnet-policy-service bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label May 9, 2025
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@anandhan-rajagopal
Copy link
Contributor

This issue has been verified in Visual Studio 17.14.0 Preview 3.0 with MAUI versions (9.0.60, 9.0.0 & 8.0.100). It can be reproduced on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView partner/syncfusion Issues / PR's with Syncfusion collaboration platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
3 participants