microsoft / TemplateStudio

Template Studio accelerates the creation of new WinUI 3, WPF, and UWP apps using a wizard-based experience.
Other
2.65k stars 459 forks source link

Navigating backwards doesn't use correct peer for previous child page #4701

Open j-bullard opened 11 months ago

j-bullard commented 11 months ago

Describe the bug

The back button doesn't load the previous child's peer. Instead it loads the child into the current peer. For example, if I navigate to a company in the ContentGridPage template, then click on Settings, when I click back, the current peer and header remains Settings, but the frame content is the company details.

Screenshot 2023-07-25 170219

To Reproduce

  1. Create new project using template studio adding the ContentGrid and Settings page
  2. Run project
  3. Click on ContentGrid navigation item then click on Company A
  4. Next click on Settings
  5. Click on back button

Additional context

No response

Applies to the following platforms:

About your setup