diff --git a/src/Controls/src/Core/Handlers/Items2/iOS/ItemsSourceFactory2.cs b/src/Controls/src/Core/Handlers/Items2/iOS/ItemsSourceFactory2.cs index 79f3ac941624..c1f08ea12890 100644 --- a/src/Controls/src/Core/Handlers/Items2/iOS/ItemsSourceFactory2.cs +++ b/src/Controls/src/Core/Handlers/Items2/iOS/ItemsSourceFactory2.cs @@ -22,7 +22,7 @@ public static ILoopItemsViewSource CreateForCarouselView(IEnumerable itemsSource IList _ when itemsSource is INotifyCollectionChanged => new LoopObservableItemsSource2(itemsSource as IList, collectionViewController, loop), IEnumerable _ when itemsSource is INotifyCollectionChanged => new LoopObservableItemsSource2(itemsSource as IEnumerable, collectionViewController, loop), IEnumerable generic => new LoopListSource2(generic, loop), - _ => new LoopListSource(itemsSource, loop), + _ => new LoopListSource2(itemsSource, loop), }; } diff --git a/src/Controls/tests/TestCases.HostApp/Issues/CarouselViewPositionVisibility.xaml b/src/Controls/tests/TestCases.HostApp/Issues/CarouselViewPositionVisibility.xaml index 3601619cb7ca..e46cfe888234 100644 --- a/src/Controls/tests/TestCases.HostApp/Issues/CarouselViewPositionVisibility.xaml +++ b/src/Controls/tests/TestCases.HostApp/Issues/CarouselViewPositionVisibility.xaml @@ -11,23 +11,21 @@ BackgroundColor="Black" TextColor="White" Text="Swipe the CarouselView to select the item numbered 2. Then, tap the Hide Button to hide the Carousel and the Show Button to show the Carousel again. If the position of the Carousel is the same as before hiding, the test has passed."/> - - - - + - - + +