Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

ChrisPulman
Copy link
Member

What kind of change does this PR introduce?

Fix
closes #3820

What is the current behavior?

#3820

What is the new behavior?

Changed RoutedViewHost to be a partial class to allow splitting its implementation.
Refactored navigation stack comparison to use the StacksAreDifferent() method for improved clarity and maintainability.

What might this PR break?

If currently calling NavigateAndReset at startup may cause navigation to end up in a different place.

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Other information:

Changed RoutedViewHost to be a partial class to allow splitting its implementation. Refactored navigation stack comparison to use the new StacksAreDifferent() method for improved clarity and maintainability.
@ChrisPulman ChrisPulman requested a review from glennawatson July 22, 2025 00:53
@glennawatson glennawatson merged commit 0c758de into main Jul 22, 2025
1 check passed
@glennawatson glennawatson deleted the CP_FixForMauiNavigation branch July 22, 2025 02:14
Copy link

github-actions bot commented Aug 6, 2025

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: NavigateAndReset doesn't work in first view
2 participants