Giter Club home page Giter Club logo

Comments (10)

AkmaralB avatar AkmaralB commented on May 28, 2024 2

@AkmaralB the last time I checked it was working. Can you please provide a reproducible example

angular-tour-of-heroes.zip

In project in file cashbox-registration.component.ts we using shouldReuseRoute function. If open this page(/cabinet/cashboxes/new) and then navigate to other pages xng-breadcrumbs doesn't display active links and only display link of problem page. But without shouldReuseRoute function (comment lines) xng-breadcrumbs working properly.

from xng-breadcrumb.

udayvunnam avatar udayvunnam commented on May 28, 2024 1

I am on vacation currently. Will try to fix this ASAP. Thanks for reporting the issue.

from xng-breadcrumb.

udayvunnam avatar udayvunnam commented on May 28, 2024

@ashokkumarjuly This has been lost in a while, are you still seeing the issue?

from xng-breadcrumb.

brian-teamcoda avatar brian-teamcoda commented on May 28, 2024

I've also ran into issues using the Angular's routing function routeReuseStrategy (similar to the example). Breadcrumbs only update on page refresh, but not on navigation anymore. Using version 6.1.0.

Problems stops occurring when I comment out

this.router.routeReuseStrategy.shouldReuseRoute = () => {
   return false;
};

I need the code to update pages correctly within my project.

from xng-breadcrumb.

udayvunnam avatar udayvunnam commented on May 28, 2024

@brian-teamcoda I will take a look and provide possible solution

from xng-breadcrumb.

johnwhitehead91 avatar johnwhitehead91 commented on May 28, 2024

I've also ran into issues using the Angular's routing function routeReuseStrategy (similar to the example). Breadcrumbs only update on page refresh, but not on navigation anymore. Using version 6.1.0.

Problems stops occurring when I comment out

this.router.routeReuseStrategy.shouldReuseRoute = () => {
   return false;
};

I need the code to update pages correctly within my project.

Getting the same issue in our solution. Any updates on this @udayvunnam ?

from xng-breadcrumb.

udayvunnam avatar udayvunnam commented on May 28, 2024

@ashokkumarjuly @jj-whitehead @brian-teamcoda This is fixed in the latest version 6.3.3. Thanks for reporting the issue.

from xng-breadcrumb.

AkmaralB avatar AkmaralB commented on May 28, 2024

Hello, @udayvunnam ! Thanks for the plugin. However, I am getting the same issue with Angular v11.0.3, xng-breadcrumb v6.5.0. Could you have a look?

from xng-breadcrumb.

udayvunnam avatar udayvunnam commented on May 28, 2024

@AkmaralB the last time I checked it was working. Can you please provide a reproducible example

from xng-breadcrumb.

udayvunnam avatar udayvunnam commented on May 28, 2024

@ashokkumarjuly @jj-whitehead @brian-teamcoda @AkmaralB

Due to a bug in Angular, this issue persisted. Now fixed again with [email protected]. Please upgrade to latest version of xng-breadcrumb

from xng-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.