diff --git a/src/Controls/src/Core/Handlers/Items2/iOS/CarouselViewController2.cs b/src/Controls/src/Core/Handlers/Items2/iOS/CarouselViewController2.cs index a5f53848918b..dfacea83f263 100644 --- a/src/Controls/src/Core/Handlers/Items2/iOS/CarouselViewController2.cs +++ b/src/Controls/src/Core/Handlers/Items2/iOS/CarouselViewController2.cs @@ -499,7 +499,7 @@ async Task UpdateInitialPosition() return; } - if(!ItemsView.IsVisible) + if (!ItemsView.IsVisible) { // If the CarouselView is not visible we don't want to set the initial position // since it will be set when the CarouselView becomes visible diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue6101.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue6101.cs index 79c710f86610..3e012219d47d 100644 --- a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue6101.cs +++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue6101.cs @@ -4,23 +4,23 @@ namespace Microsoft.Maui.TestCases.Tests.Issues { - public class Issue6101 : _IssuesUITest - { - public override string Issue => "Picker items do not appear when tapping on the picker while using PushModalAsync for navigation"; + public class Issue6101 : _IssuesUITest + { + public override string Issue => "Picker items do not appear when tapping on the picker while using PushModalAsync for navigation"; - public Issue6101(TestDevice device) : base(device) - { - } + public Issue6101(TestDevice device) : base(device) + { + } - [Test] - [Category(UITestCategories.Picker)] - public void ShouldAppearItemsWhenTappingOnPickerUsingPushModalAsync() - { - App.WaitForElement("Button"); - App.Tap("Button"); - App.WaitForElement("Picker"); - App.Click("Picker"); - VerifyScreenshot(); - } - } + [Test] + [Category(UITestCategories.Picker)] + public void ShouldAppearItemsWhenTappingOnPickerUsingPushModalAsync() + { + App.WaitForElement("Button"); + App.Tap("Button"); + App.WaitForElement("Picker"); + App.Click("Picker"); + VerifyScreenshot(); + } + } } \ No newline at end of file diff --git a/src/Core/src/Platform/Windows/RootNavigationView.cs b/src/Core/src/Platform/Windows/RootNavigationView.cs index 1e6b5ccad200..1311a2870b99 100644 --- a/src/Core/src/Platform/Windows/RootNavigationView.cs +++ b/src/Core/src/Platform/Windows/RootNavigationView.cs @@ -39,7 +39,7 @@ public RootNavigationView() internal new MauiToolbar? Toolbar { - get => base.Toolbar as MauiToolbar; + get => base.Toolbar as MauiToolbar; set { if (base.Toolbar == value) @@ -367,7 +367,7 @@ internal Maui.IView? FlyoutView // We use a container because if we just assign our Flyout to the PaneFooter on the NavigationView // The measure call passes in PositiveInfinity for the measurements which causes the layout system // to crash. So we use this Panel to facilitate more constrained measuring values - partial class FlyoutPanel : Panel + partial class FlyoutPanel : Panel { public Maui.IView? FlyoutView { get; set; }