This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] CarouselView.VisibleViews property was shared among with all carouselview #11826
Labels
Projects
Milestone
Description
CarouselView.VisibleViews should be provide for each carouselview, but a same VisibleViews was provided
According to this line,
new ObservableCollection<View>()
is provided by default valueXamarin.Forms/Xamarin.Forms.Core/Items/CarouselView.cs
Line 29 in a8bcaa9
But according to
GetValue
implementationXamarin.Forms/Xamarin.Forms.Core/BindableObject.cs
Line 108 in a8bcaa9
It is sharing a static value (property.DefaultValue)
So, all carouselview has a same VisibleViews
Steps to Reproduce
Expected Behavior
Should not be same
Actual Behavior
Has same instance
Basic Information
Screenshots
Reproduction Link
Workaround
The text was updated successfully, but these errors were encountered: