Giter Club home page Giter Club logo

Comments (9)

andrii-oleksyshyn avatar andrii-oleksyshyn commented on July 30, 2024 2

I hotfixed this issue resetting breadcrumb with this.dynamicBreadcrumbService.updateBreadcrumbLabels([]); in ngDestroy hook.

from ng7-dynamic-breadcrumb.

canpan14 avatar canpan14 commented on July 30, 2024

Note I was able to code a work around by having the ApplicationsComponent set the breadcrumb for the child. This shouldn't be necessary but seems to prove to me that there are more than one breadcrumb service instance being loaded. And the ApplicationSummaryComponent is setting a different one somehow. I have no idea how this happened.

from ng7-dynamic-breadcrumb.

canpan14 avatar canpan14 commented on July 30, 2024

This will reproduce the issue https://stackblitz.com/edit/ng7-mat-breadcrumb-6nkaqh
Click back and forth between the pageOneId 1 and 2 links on the main screen and watch the breadcrumbs on the next page.

from ng7-dynamic-breadcrumb.

ieltxualganaras avatar ieltxualganaras commented on July 30, 2024

@canpan14 could you please tell me what the workarround is? until this bug gets fixed?

from ng7-dynamic-breadcrumb.

ieltxualganaras avatar ieltxualganaras commented on July 30, 2024

shouldn't the module implement forRoot for this to work?

from ng7-dynamic-breadcrumb.

canpan14 avatar canpan14 commented on July 30, 2024

That's might help. I didn't try forking this and recoding it yet, a little busy (sorry for the late reply).

Here is a version with the workaround. Note this is a little sloppy, but the important thing to note is that I'm calling update breadcrumb in the page.component.ts. Which updates the breadcrumbs on the next page for me.
https://stackblitz.com/edit/ng7-mat-breadcrumb-e4cyks

from ng7-dynamic-breadcrumb.

canpan14 avatar canpan14 commented on July 30, 2024

Found out how to fix it. Please note I only did it for the material angular one to show as an example.
I left comments in the pull request, let me know if you need anymore information.

from ng7-dynamic-breadcrumb.

andrii-oleksyshyn avatar andrii-oleksyshyn commented on July 30, 2024

Hello, do we have any updates on this issue? Are there any problems with PR, when could it be merged?

from ng7-dynamic-breadcrumb.

rajaramtt avatar rajaramtt commented on July 30, 2024

New Version unable to reproduce, We Believe issue has been fixed.

from ng7-dynamic-breadcrumb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.