-
Notifications
You must be signed in to change notification settings - Fork 313
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
fix: remove click handler for the anchorlink when useRouter is true #2912
fix: remove click handler for the anchorlink when useRouter is true #2912
Conversation
✅ Deploy Preview for carbon-components-angular ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
[fragment]="routeExtras?.fragment" | ||
[queryParamsHandling]="routeExtras?.queryParamsHandling" | ||
[preserveFragment]="routeExtras?.preserveFragment" | ||
[onSameUrlNavigation]="routeExtras?.onSameUrlNavigation" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
onSameUrlNavigation
is the only one that is not defined by the routerLink
directive...it seems to be a property only for router.navigate
which is overriding the default configuration for the router
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
addbac2
to
7085c56
Compare
🎉 This PR is included in version 5.27.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Closes #2911
Removes the click handler for the element when using
useRouter
. Adds in all available routeExtras so they get passed along.