xng-breadcrumb icon indicating copy to clipboard operation
xng-breadcrumb copied to clipboard

Breadcrumb link disappears on CanDeactivate guard check

Open udayvunnam opened this issue 3 years ago • 4 comments

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:

  1. While on Page1, click on Page 2 button -> Page 2 BC text is displayed.
  2. Click on "To Page2 Child" -> Resolver throws error hence "Page 2 child" BC should not be displayed but it is displayed.
  3. 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

udayvunnam avatar Jun 08 '22 13:06 udayvunnam

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

github-actions[bot] avatar Jun 08 '22 13:06 github-actions[bot]

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.

stale[bot] avatar Oct 12 '22 05:10 stale[bot]

not stale

udayvunnam avatar Oct 12 '22 06:10 udayvunnam

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.

stale[bot] avatar Feb 11 '23 20:02 stale[bot]