gmostert / ng2-breadcrumb

This is an angular 2 component that creates a breadcrumb trail. It hooks into the angular2/router, to dynamically build up the crumb trail once a component is routed to.
MIT License
102 stars 81 forks source link

Breadcrumbs not loaded #78

Open suchyn11 opened 7 years ago

suchyn11 commented 7 years ago

Hello, please help me solve this:

Sometimes, I have to navigate somewhere else (change the URL) in order to render the routes (only breadcrumb for root and dash on its right side is being displayed). All the routes are loaded up properly inside of the breadcrumbs service instance under the routesFriendlyNames or routesFriendlyNamesRegex. I even tried not to use hideRoutes at all in order to ensure myself, that I accidentally didn't hide the route. After accessing different route, everything renders fine.

Any ideas? If you need data to reproduce that, let me know. Thx

jmls commented 7 years ago

I get this as well

brandanmajeske commented 7 years ago

Looks like there is a pull request to fix this issue, also see Issue 74 for a workaround fix