diff --git a/src/Controls/tests/TestCases.HostApp/FeatureMatrix/CarouselView/CarouselViewControlPage.xaml.cs b/src/Controls/tests/TestCases.HostApp/FeatureMatrix/CarouselView/CarouselViewControlPage.xaml.cs index 2116feb9f512..05b6303f6967 100644 --- a/src/Controls/tests/TestCases.HostApp/FeatureMatrix/CarouselView/CarouselViewControlPage.xaml.cs +++ b/src/Controls/tests/TestCases.HostApp/FeatureMatrix/CarouselView/CarouselViewControlPage.xaml.cs @@ -58,7 +58,7 @@ private void OnScrollToButtonClicked(object sender, EventArgs e) if (int.TryParse(scrollToIndexEntry.Text, out int index) && index >= 0 && index < carouselView.ItemsSource.Cast().Count()) { - carouselView.ScrollTo(index); + carouselView.ScrollTo(index, animate: false); } } } \ No newline at end of file diff --git a/src/Controls/tests/TestCases.HostApp/FeatureMatrix/CarouselView/CarouselViewOptionsPage.xaml b/src/Controls/tests/TestCases.HostApp/FeatureMatrix/CarouselView/CarouselViewOptionsPage.xaml index 4c5838225771..bd5469f465b6 100644 --- a/src/Controls/tests/TestCases.HostApp/FeatureMatrix/CarouselView/CarouselViewOptionsPage.xaml +++ b/src/Controls/tests/TestCases.HostApp/FeatureMatrix/CarouselView/CarouselViewOptionsPage.xaml @@ -4,12 +4,6 @@ x:Class="Maui.Controls.Sample.CarouselViewOptionsPage" Title="CarouselViewOptionsPage"> - - - - + + +