Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
34 changes: 17 additions & 17 deletions src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue6101.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
}
4 changes: 2 additions & 2 deletions src/Core/src/Platform/Windows/RootNavigationView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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; }

Expand Down