Skip to content

[Windows] CarouselView has issues with the initial rendering of items and doesn't scroll to the correct position when Loop is enabled #24482

Open

Description

Description

Carousel items are not rendered initially with the loaded items using ItemsSource, and due to that, we can't observe the position changing during initial loading or when reloading the items.

Ref issue in Android : #17283

Steps to Reproduce

Get the sample from the below github repository

Issue 1 : Items not intially rendering with items

Just deploy the sample in windows , you can observe that items rendered and disappeared within a seconds

Expected outcome: The items should render
Actual outcome: The items not rendered properly

Issue 2 : Doesn't scroll to the right position

Click Go to last item button

Expected outcome: The last item should be selected
Actual outcome: No items shown.

Issue 3 : Doesn't scroll to the right position when reloading the items (new items)

Click reloadItemsButton

Expected outcome: The last item should be selected
Actual outcome: The first item will be selected

Issue video

CarouselWindows.mp4

Steps to Reproduce

Follow the replication steps given in the description with issue video

Link to public reproduction project repository

https://github.com/Ahamed-Ali/CarouselWindowsIssue

Version with bug

Unknown/Other

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows 10

Did you find any workaround?

No

Relevant log output

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    area-controls-collectionviewCollectionView, CarouselView, IndicatorViewplatform/windows 🪟s/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions