Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Route Navigation.(Push/Pop)Modal through Shell Navigation Manager #14080

Merged
merged 4 commits into from
Jul 7, 2021

Conversation

PureWeen
Copy link
Contributor

Description of Change

When the user called "Navigation.(Push/Pop)ModalAsync" those were operating outside the scope of Shell so it would confuse the ShellNavigationManager when trying to process cancellation tokens. This makes it so the Navigation calls to push/pop modal will correctly call Navigating/Navigated and also allow users to cancel those operations as well

Issues Resolved

Platforms Affected

  • Core/XAML (all platforms)

Testing Procedure

  • Unit Test included

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

@PureWeen PureWeen added this to Issue In progress in 5.0.0 SR 4 (Planning) via automation Apr 2, 2021
@PureWeen PureWeen moved this from Issue In progress to PR Needs Review in 5.0.0 SR 4 (Planning) Apr 2, 2021
@PureWeen PureWeen added this to the 5.0.0 milestone Apr 2, 2021
@PureWeen
Copy link
Contributor Author

/azp run

@xamarin xamarin deleted a comment from azure-pipelines bot Apr 13, 2021
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PureWeen
Copy link
Contributor Author

PureWeen commented May 28, 2021

....

@jsuarezruiz
Copy link
Contributor

@shane Could you rebase to fix the conflicts?. Thanks!.

@PureWeen
Copy link
Contributor Author

PureWeen commented Jul 6, 2021

@jsuarezruiz I kicked off the UI Tests

I'd like those to run again with the previous shell PRs that got merged

@jsuarezruiz
Copy link
Contributor

The failing UITests seem unrelated.
Captura de pantalla 2021-07-07 a las 10 58 53

Copy link
Contributor

@jsuarezruiz jsuarezruiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Captura de pantalla 2021-07-07 a las 11 08 33

@PureWeen PureWeen merged commit 46d1d9d into 5.0.0 Jul 7, 2021
5.0.0 SR 4 (Planning) automation moved this from PR Needs Review to Done Jul 7, 2021
@PureWeen PureWeen deleted the fix_13947 branch July 7, 2021 10:06
@EricB84300
Copy link

I have a question on this fix. It seems thant since that, when you push a value by MessagingCenter on the the screen you ask NavigateTo the message was send before OnAppearing with the subscribe could run. So the message is not received.
Does anyone else get this problem ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

[Bug] iOS Shell PopAsync() causes null reference at RouteRequestBuilder
3 participants