Open hardraid opened 7 years ago
I can confirm this works for my use-case too
Same here, can reproduce the same issue with Angular 4.1+
I have the same issue with Angular 4.1.
@gmostert Can you merge this? It helps with reliability of the breadcrumbs
Any idea when this may be merged in or any other possible work around
Any chance of getting this merged?
Actually, there's an issue with this and the prefix option - on the initial page load, it shows the prefix twice.
@TomMettam I'm also getting this - using it in a different project and now see double "home" links when in use. If I DON'T use the prefix option, I get no links for home.
Please merge...
as workaround untill merge, change in package.json: "ng2-breadcrumb": "https://github.com/hardraid/ng2-breadcrumb"
works for me
@gmostert Please approve this PR and merge back. Like everyone else, I upgraded recently from Angular 2 to 4 (2.4 to 4.4, specifically) and notice the empty breadcrumb trail on initial page load.
Hi Gerhard, I created this PR because recently I updated my Angular instance to 4.1 and found an issue when you load the page for first time and Breadcrumb doesn't show because NavigationEnd executes before ngOnInit. Please check it for your own aware and ensure if this changes are correct.
Thanks!