We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://stackblitz.com/github/nitrexx/ng-zorro-menu-bug
It shouldn't change selected item in menu on click but on the route if I use nzMatchRouter
It changes selected menu item on click event and not depends on route
The text was updated successfully, but these errors were encountered:
I have the same problem. Is there any thing can help me on this issue?
Sorry, something went wrong.
Maybe we should also listen NavigationCancel router event.
NavigationCancel
Hi @keyman169 you can add nzSelectable="false" in the current design, https://stackblitz.com/edit/github-5lxjne?file=src/app/common/pending-changes-guard.ts we will make it default with nzMatchRouter in next version
7560563
feat(module:menu): menu with nzMatchRouter work with CanDeactivate
abe3200
close NG-ZORRO#4407
674af8d
vthinkxie
No branches or pull requests
Reproduction link
https://stackblitz.com/github/nitrexx/ng-zorro-menu-bug
Steps to reproduce
What is expected?
It shouldn't change selected item in menu on click but on the route if I use nzMatchRouter
What is actually happening?
It changes selected menu item on click event and not depends on route
The text was updated successfully, but these errors were encountered: