CarouselView ignores CollectionChanged events of source #17727
Labels
area-controls-collectionview
CollectionView, CarouselView, IndicatorView
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
When adding items to the source of CarouselView, the view remains unchanged. The source is ObservableCollection type. Linked IndicatorView does correctly add new indicators, but the corresponding views never appear and can't be swiped/scrolled to. The bug occurs only in Loop="False" mode. Tested on Windows and Android and only Windows seem affected. iOS wasn't tested.
Steps to Reproduce
Link to public reproduction project repository
https://github.com/Vroomer/MAUI-CarouselView-collection-changed-bug.git
Version with bug
8.0.0-rc.1.9171
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 SDK 10.0.19041.0
Did you find any workaround?
Seting the ObservableCollection to new instance instead of relying on CollectionChanged event works, but it's not ideal.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: