-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Since 6.8.0, breadcrumb disappears on page refresh #108
Comments
Hello 馃憢 @fgoulet |
@fgoulet It worked fine with a demo app. Can you please provide a reproducible example to check the issue? Use https://stackblitz.com/edit/angular-xng-breadcrumbs as reference |
Hi @udayvunnam , It was working fine until version 6.8.0. From 6.8.0 and up, if I set initialNavigation to enabledNonBlocking (the default), everything works again. But I'm not sure on the impact of this on msal angular. Here's a repro. The breadcrumb does not appears when page load, but only when you click "change route". |
Thanks, @fgoulet for identifying the issue. I have made a fix to this in [email protected]. Do let me know if you still face this issue. |
Hi @udayvunnam , unfortunately, the issue is still present in 7.1.1. When I set intialNavigation to enabledBlocking, I loose the breadcrumb on page refresh. |
Same for me, the issue is still present in latest version |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
The issue is still relevant. xng-breadcrumb: 8.0.2 The "initialNavigation" parameter is needed for Server-Side Rendering, but the breadcrumbs do not work correctly with it. |
same here |
I added the BreadcrumbService as constructor paramter of my AppModule and it worked. So I think the problem is that the service is initialized to late. https://stackblitz.com/edit/angular-xng-breadcrumbs-xkivgs?file=src%2Fapp%2Fapp.routing.module.ts xng-breadcrumb: 6.8.3 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This works perfectly fine for me. Thanks :) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
馃悶 Bug report
Description
It was working fine by injecting BreadcrumbService in the constructor of the page until I upgraded from 6.7.0 to 6.8.0
馃敩 Minimal Reproduction
Add a breadcrumb in the page, hit F5 to refresh the page.
馃捇Your Environment
Windows 10
Angular Version:
12.1
The text was updated successfully, but these errors were encountered: