Comments (7)
Hi Benny,
It is by design, we have made this pattern. Breadcrumbs can be shown for routes that can be differentiated by the path.
In your example, you would want to choose breadcrumb for path "/courses" on either parent on children. If it's defined at many places for the same path then the deepest child takes priority.
Please check https://github.com/udayvunnam/xng-breadcrumb#where-to-define-breadcrumbs-if-routes-path-have-same-route-specificity
from xng-breadcrumb.
from xng-breadcrumb.
It happens the same to me in the last version.
I had to add, twice "breadcrumb" key.
For instance:
{
path: '',
data: { breadcrumb: {breadcrumb: 'Organizations'} },
component: ...
},
from xng-breadcrumb.
Hi, @patogalla! Can you provide the Angular and xng-breadcrumb version you have faced this issue on?
Also, I see that you are defining it wrongly.
Use one of the below patterns -
- just label: https://github.com/udayvunnam/xng-breadcrumb#breadcrumb-as-a-string
- label, icon, additional info for advanced usage - https://github.com/udayvunnam/xng-breadcrumb#breadcrumb-as-an-object
from xng-breadcrumb.
Hi @udayvunnam , thanks for the response.
Here are the versions:
Angular: 8.2.14
xng-breadcrumb: 3.8.0
Regarding the way i defined in my project, is after debuging your code, found that if i put the breadcrumb object inside another breadcrumb object it worked.
I think it has to be with nested routes, and the way it handle it.
I have like a 3 or 4 level depth routing.
Any thing you need, just ask me, i'd be glad to help.
from xng-breadcrumb.
Hi @patogalla can you try with latest version where a couple of bugs are addressed.
https://github.com/udayvunnam/xng-breadcrumb#angular-version-compatibility
from xng-breadcrumb.
@patogalla is that working, upgrading to the latest xng-breadcrumb version
from xng-breadcrumb.
Related Issues (20)
- Unable to setup breadcrumb for certain route paths HOT 8
- Breadcrumbs are not displayed for lazy loaded module HOT 3
- update xng-breadcrumb demo app that uses Material UI HOT 7
- Module not found when using BreadcrumbService from another module in which the BreadCrumbsModule is imported HOT 2
- Set multiple breadcrumbs regardless of route HOT 11
- Need docs! HOT 2
- xng-breadcrumb not working in Angular Ionic HOT 2
- Hiding the breadcrumbs with one level only HOT 3
- Breadcrumb doesn't work on routes using `matcher` HOT 5
- Property '"autoGenerate"' is incompatible with index signature. HOT 3
- Double rendering with provideClientHydratation Angular 16 HOT 4
- Customizing breadcrumb HOT 3
- Breadcrumb Links Not Working HOT 4
- Breadcrumb labels no longer working with loadChildren HOT 5
- Duplicate breadcrumbs on Angular 17 HOT 6
- Support for Angular 17 HOT 16
- Typo in Dynamic breadcrumbs example HOT 1
- Custom aria-label for accessibility in other languages HOT 2
- Breadcrumb temporarily disappears during resolver data loading HOT 2
- Angular 17: Module '"xng-breadcrumb"' has no exported member 'BreadcrumbModule'. HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xng-breadcrumb.