Skip to content

[iOS/MacCatalyst] Fix CollectionView ScrollTo for horizontal layouts#33853

Merged
PureWeen merged 1 commit into
dotnet:inflight/currentfrom
Shalini-Ashokan:fix-33852
Feb 23, 2026
Merged

[iOS/MacCatalyst] Fix CollectionView ScrollTo for horizontal layouts#33853
PureWeen merged 1 commit into
dotnet:inflight/currentfrom
Shalini-Ashokan:fix-33852

Fixed the collection view scroll to issue

345ea8d
Select commit
Loading
Failed to load commit list.
Azure Pipelines / maui-pr-uitests failed Feb 3, 2026 in 1h 10m 10s

Build #10.0.40-ci+pr.33853.azdo.1277669 had test failures

Details

Tests

  • Failed: 56 (0.43%)
  • Passed: 12,885 (98.48%)
  • Other: 143 (1.09%)
  • Total: 13,084

Annotations

Check failure on line 742 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Build log #L742

PowerShell exited with code '1'.

Check failure on line 1037 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Build log #L1037

PowerShell exited with code '1'.

Check failure on line 1278 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Build log #L1278

PowerShell exited with code '1'.

Check failure on line 829 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Build log #L829

PowerShell exited with code '1'.

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.Issues.Issue25200(iOS).ActionSheetWithLongTitleShouldDisplayProperly

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Microsoft.Maui.TestCases.Tests.Issues.Issue25200(iOS).ActionSheetWithLongTitleShouldDisplayProperly

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: ActionSheetWithLongTitleShouldDisplayProperly.png (2.11% difference)
If the correct baseline has changed (this isn't a a bug), then update the baseline image.
See test attachment or download the build artifacts to get the new snapshot file.

More info: https://aka.ms/visual-test-workflow
Raw output
   at VisualTestUtils.VisualRegressionTester.Fail(String message) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 162
   at VisualTestUtils.VisualRegressionTester.VerifyMatchesSnapshot(String name, ImageSnapshot actualImage, String environmentName, ITestContext testContext) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 123
   at Microsoft.Maui.TestCases.Tests.UITest.<VerifyScreenshot>g__Verify|13_0(String name, <>c__DisplayClass13_0&) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 469
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 retryDelay, Nullable`1 retryTimeout, Int32 cropLeft, Int32 cropRight, Int32 cropTop, Int32 cropBottom, Double tolerance) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 301
   at Microsoft.Maui.TestCases.Tests.Issues.Issue25200.VerifyScreenshotAndDismiss() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue25200.cs:line 104
   at Microsoft.Maui.TestCases.Tests.Issues.Issue25200.ActionSheetWithLongTitleShouldDisplayProperly() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue25200.cs:line 95
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.Issues.Issue25200(iOS).ActionSheetWithSixActionsShouldDisplayProperly

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Microsoft.Maui.TestCases.Tests.Issues.Issue25200(iOS).ActionSheetWithSixActionsShouldDisplayProperly

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: ActionSheetWithSixActionsShouldDisplayProperly.png (1.31% difference)
If the correct baseline has changed (this isn't a a bug), then update the baseline image.
See test attachment or download the build artifacts to get the new snapshot file.

More info: https://aka.ms/visual-test-workflow
Raw output
   at VisualTestUtils.VisualRegressionTester.Fail(String message) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 162
   at VisualTestUtils.VisualRegressionTester.VerifyMatchesSnapshot(String name, ImageSnapshot actualImage, String environmentName, ITestContext testContext) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 123
   at Microsoft.Maui.TestCases.Tests.UITest.<VerifyScreenshot>g__Verify|13_0(String name, <>c__DisplayClass13_0&) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 469
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 retryDelay, Nullable`1 retryTimeout, Int32 cropLeft, Int32 cropRight, Int32 cropTop, Int32 cropBottom, Double tolerance) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 301
   at Microsoft.Maui.TestCases.Tests.Issues.Issue25200.VerifyScreenshotAndDismiss() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue25200.cs:line 104
   at Microsoft.Maui.TestCases.Tests.Issues.Issue25200.ActionSheetWithSixActionsShouldDisplayProperly() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue25200.cs:line 35
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.Issues.Issue25200(iOS).ActionSheetWithManyActionsShouldDisplayProperly

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Microsoft.Maui.TestCases.Tests.Issues.Issue25200(iOS).ActionSheetWithManyActionsShouldDisplayProperly

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: ActionSheetWithManyActionsShouldDisplayProperly.png (7.35% difference)
If the correct baseline has changed (this isn't a a bug), then update the baseline image.
See test attachment or download the build artifacts to get the new snapshot file.

More info: https://aka.ms/visual-test-workflow
Raw output
   at VisualTestUtils.VisualRegressionTester.Fail(String message) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 162
   at VisualTestUtils.VisualRegressionTester.VerifyMatchesSnapshot(String name, ImageSnapshot actualImage, String environmentName, ITestContext testContext) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 123
   at Microsoft.Maui.TestCases.Tests.UITest.<VerifyScreenshot>g__Verify|13_0(String name, <>c__DisplayClass13_0&) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 469
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 retryDelay, Nullable`1 retryTimeout, Int32 cropLeft, Int32 cropRight, Int32 cropTop, Int32 cropBottom, Double tolerance) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 301
   at Microsoft.Maui.TestCases.Tests.Issues.Issue25200.VerifyScreenshotAndDismiss() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue25200.cs:line 104
   at Microsoft.Maui.TestCases.Tests.Issues.Issue25200.ActionSheetWithManyActionsShouldDisplayProperly() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue25200.cs:line 64
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.Issues.Issue14829(iOS).DisplayActionSheetStillNotWorkingOnWindows

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Microsoft.Maui.TestCases.Tests.Issues.Issue14829(iOS).DisplayActionSheetStillNotWorkingOnWindows

System.TimeoutException : Timed out waiting for element...
Raw output
   at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2618
   at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2633
   at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 771
   at Microsoft.Maui.TestCases.Tests.Issues.Issue14829.DisplayActionSheetStillNotWorkingOnWindows() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue14829.cs:line 19
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)