Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix how PopToRoot propagates to handler #10653

Merged
merged 2 commits into from
Oct 13, 2022
Merged

Fix how PopToRoot propagates to handler #10653

merged 2 commits into from
Oct 13, 2022

Conversation

PureWeen
Copy link
Member

Description of Change

Shell on windows currently uses the xplat nav stack to re-arrange itself once a navigation is requested. In all cases (except PopToRootAsync) the navstack is modified before the call is propagated to the platform. I could have reversed these calls as another way to fix this issue but I'm not confident about the ramifications of doing that. So, for this PR I've just modified the shell handler to handle PopToRootAsync itself.

Issues Fixed

Fixes #10524

@jsuarezruiz jsuarezruiz added the t/bug Something isn't working label Oct 13, 2022
@PureWeen PureWeen merged commit 37ae5a0 into main Oct 13, 2022
@PureWeen PureWeen deleted the fix_pop_to_root branch October 13, 2022 13:52
@github-actions github-actions bot locked and limited conversation to collaborators Dec 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-navigation NavigationPage t/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shell navigation PopToRoot does not work on Windows if stack size > 2
2 participants