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

[bug] routeExtras in useRouter of side navigation breaks default navigation #2911

Closed
klaascuvelier opened this issue Jun 5, 2024 · 1 comment · Fixed by #2912
Closed

Comments

@klaascuvelier
Copy link
Contributor

The fix for #2904 done in #2905 breaks desired behavior. By adding a click listener javascript is added and the default browser behavior (like command + click and other behavior) is broken.

The easiest way to restore this functionality and support navigation extras, is to add all individual extras in the template.
This is however (as pointed out by @Licen-it in #2905) prone to bugs if Angular would introduce new properties in the navigation extras.
I would however still go forward with this suggestion to unblock the current bug and then look at a more longterm solution afterwards

Copy link

🎉 This issue has been resolved in version 5.27.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant