Skip to content

Commit

Permalink
Remove Navigation workaround (#13170)
Browse files Browse the repository at this point in the history
  • Loading branch information
PureWeen authored Feb 7, 2023
1 parent 8e53a53 commit f822230
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions src/Controls/tests/DeviceTests/ControlsHandlerTestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -342,14 +342,6 @@ protected async Task OnNavigatedToAsync(Page page, TimeSpan? timeOut = null)
{
await OnLoadedAsync(page, timeOut);

// Navigation Events currently aren't wired up
// correctly on iOS
if (OperatingSystem.IsIOS() && page.Parent is NavigationPage)
{
await Task.Delay(100);
return;
}

if (page.HasNavigatedTo)
{
// TabbedPage fires OnNavigated earlier than it should
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void SetupBuilder()
});
}

#if !IOS
#if !IOS && !MACCATALYST
// iOS currently can't handle recreating a handler if it's disconnecting
// This is left over behavior from Forms and will be fixed by a different PR
[Theory]
Expand Down

0 comments on commit f822230

Please sign in to comment.