emilol / angular-crumbs

Angular Breadcrumb
https://emilol.github.io/angular-crumbs
MIT License
46 stars 46 forks source link

breadcrumb not working properly with lazyloading #18

Closed Hasan-git closed 5 years ago

Hasan-git commented 5 years ago

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Feature request
[ ] Documentation issue or request

Current behavior

In my project most of my routes are lazy loaded, when I try to load the website for the first time the breadcrumb element displays nothing. but, after navigating to next page the breadcrumb element displays routes normally as usual.

Expected behavior

breadcrumb element should display route breadcrumb data on website load even if route is lazy loaded

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment


Angular version: X.Y.Z


Browser:
- [x] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:
- Node version:  v10.13.0
- Platform:   Windows 

Others:

emilol commented 5 years ago

Hi Hasan, thanks for reporting this.

angular-crumbs is a labor of love done completely in my spare time. Unfortunately I don't have the luxury of spending time reproducing issues reported, which is why I've included the section "Minimal reproduction of the problem with instructions" in the issue template.

Closing issue as it doesn't follow the issue template. Please feel free to resubmit including a minimal reproduction in something like plunkr or stackblitz.