xng-breadcrumb
xng-breadcrumb copied to clipboard
Breadcrumb link disappears on CanDeactivate guard check
Here you go.
https://stackblitz.com/edit/angular-xng-breadcrumbs-bkzine?file=src/app/app.routing.module.ts
For some reason, I am not able to get the resolved data in Page2ChildComponent via http service. Hence I am throwing an error from the Resolver.
Steps:
- While on Page1, click on Page 2 button -> Page 2 BC text is displayed.
- Click on "To Page2 Child" -> Resolver throws error hence "Page 2 child" BC should not be displayed but it is displayed.
- Click on "Page 2" button. Nothing happens. It means the rendered component is still "Page 2". Only when "Page 1" button is clicked is when Page 1 component is rendered.
BC should wait until all the resolvers attached to the route are resolved before the BC for the route is shown. If any error occurs, the BC should not be shown
Originally posted by @nakash2050 in https://github.com/udayvunnam/xng-breadcrumb/discussions/111#discussioncomment-2445162
Hello 👋 @udayvunnam
Thank you for raising an issue. We will investigate into the issue and get back to you as soon as possible. Please make sure you have given us as much context as possible.
Feel free to raise a PR if you can fix the issue. Check the local development guide
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.
not stale
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.