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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

xng-breadcrumb freezes when we use "this.router.routeReuseStrategy.shouldReuseRoute = () => false;" #91

Closed
anitsingh367 opened this issue Nov 11, 2021 · 3 comments 路 Fixed by #93
Labels
bug Something isn't working

Comments

@anitsingh367
Copy link

馃悶 Bug report

Description

When I add "this.router.routeReuseStrategy.shouldReuseRoute = () => false;" to the constructor of my component breadcrumbs freezes and does not change even after change in routes.

馃敩 Minimal Reproduction

Here is the link of stackblitz where I have reproduced the issue
https://stackblitz.com/edit/angular-xng-breadcrumbs-nesting-poc-yyepxq?file=src/app/app.component.ts

@anitsingh367 anitsingh367 added the bug Something isn't working label Nov 11, 2021
@github-actions
Copy link

馃憢 @anitsingh367
Thank you for raising an issue. We will will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.

@udayvunnam
Copy link
Owner

Hi @anitsingh367 This is essentially a bug in Angular and a work around is to use angular/angular#11812 (comment)

I will release this bug with next minor verison

@udayvunnam
Copy link
Owner

@anitsingh367 this issue is fixed with xng-breadcrumb@6.8.0. Please upgrade to the latest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants