Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

Stop Carousel from resetting when ItemsSource is updated #2945

Closed

Description

@gavinwilliams

I'm submitting a...

Documentation issue or request

Current behavior

Updating a value in ItemsSource resets the carousel.

Expected behavior

The carousel doesn't reset to the beginning or has an option not to when a new item is added or a property in the underlying collection changes, i.e. ItemsUpdatingScrollMode="KeepItemsInView"

Minimal reproduction of the problem with instructions

  1. Create a project
  2. Add a carousel
  3. Set the carousel's ItemsSource using MVVM and an ObservableCollection
  4. Add an item to the collection

Environment

Nuget Package(s): 

Package Version(s): 

Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [X] Insider Build (build number: 18362.145)

App min and target version:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [X] October 2018 Update (17763)
- [ ] Insider Build (xxxxx)

Device form factor:
- [X] Desktop
- [ ] Mobile
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio 
- [ ] 2017 (version: )
- [ ] 2017 Preview (version: )
- [X] 2019 (version: 4.8.03752)

Activity

  1. michael-hawker commented on Jun 4, 2019

    @michael-hawker
    Member

    Thanks @gavinwilliams for the report. Based on some recent investigations by @JustinXinLiu, I think we want to rewrite the Carousel soon.

  2. gavinwilliams commented on Jun 4, 2019

    @gavinwilliams
    Author

    No worries! We ended up simplifying what we made anyway.

  3. added this to the 6.0 milestone on Jun 5, 2019
  4. michael-hawker commented on Jun 5, 2019

    @michael-hawker
    Member

    Good to know @gavinwilliams, I'm going to leave this open for our tracking still.

  5. modified the milestones: 6.0, 6.1 on Oct 24, 2019
  6. modified the milestones: 6.1, 7.0 on Jun 22, 2020
  7. Kyaa-dost commented on Feb 18, 2021

    @Kyaa-dost
    Contributor

    @jamesmcroft is this something we can update with the changes we are making in #3507? is this an easy fix?

    CC: @Sergio0694

  8. jamesmcroft commented on Feb 18, 2021

    @jamesmcroft
    Member

    I can take a look and if so, fix it 👍

  9. Kyaa-dost commented on Feb 18, 2021

    @Kyaa-dost
    Contributor

    Thanks @jamesmcroft ❤️

  10. 1 remaining item

  11. michael-hawker commented on Feb 18, 2021

    @michael-hawker
    Member

    Thanks for taking a look @jamesmcroft. This was opened a while ago, so things may have changed in the platform or our code base.

    @gavinwilliams are you still seeing this issue or can provide a pre-built minimal repro project showcasing the problem? Thanks!

  12. modified the milestones: 7.0, 7.1 on Feb 18, 2021
  13. added
    help wantedIssues identified as good community contribution opportunities
    on Feb 18, 2021
  14. Kyaa-dost commented on Apr 2, 2021

    @Kyaa-dost
    Contributor

    @gavinwilliams can you please provide an update on this ⬆️

  15. ghost removed on Apr 2, 2021
  16. gavinwilliams commented on Apr 6, 2021

    @gavinwilliams
    Author

    Hey, unfortunately we ended up going in a different direction so can't verify whether this is still an issue anymore.

  17. removed this from the 7.1 milestone on Apr 6, 2021
  18. ghost locked as resolved and limited conversation to collaborators on Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions