Skip to content

The Shell flyout menu's current page indicator doesn't update when using routes (//) that clear the navigation stack #32219

@egvijayanand

Description

@egvijayanand

Description

The Shell flyout menu's current page indicator doesn't update when using routes that start with // prefix, that clear the navigation stack.

In the sample solution, Logout is a menu item that navigates to the Login page. Clicking the Login button then redirects to the Events page via the //home route, effectively clearing the navigation stack.

Once back to the Home page, open the flyout menu, the current page indicator still points to the Logout menu item.

Now update the MAUI NuGet package to 9.0.111, the earlier version, it works fine.

Steps to Reproduce

  1. Clone the sample solution
  2. Set Windows as the target platform
  3. Run the application
  4. Open the Shell flyout menu
  5. Note the current page indicator
  6. Click on the Logout menu item (redirects to the Login page)
  7. Now click on the Login action button (redirects to the Calendar page)
  8. Again, open the Shell flyout menu
  9. Now check the current page indicator, which is incorrect
  10. Update the MAUI NuGet package to the 9.0.111, the earlier version (Refer to Directory.Packages.props file in the root)
  11. Restore, build, run, and repeat the above steps

Link to public reproduction project repository

https://github.com/egvijayanand/maui-issue-32219

Version with bug

9.0.120 SR12

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

9.0.111 SR11.1

Affected platforms

Windows, I was not able test on other platforms

Affected platform versions

Windows SDK 10.0.19041.0

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Labels

area-controls-shellShell Navigation, Routes, Tabs, Flyouti/regressionThis issue described a confirmed regression on a currently supported versionp/0Current heighest priority issues that we are targeting for a release.partner/syncfusionIssues / PR's with Syncfusion collaborationplatform/windowsregressed-in-9.0.120s/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions