Breadcrumb service max of 5 links

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
lakhiii
Posts: 15
Joined: 11 Jan 2022, 17:43

11 Feb 2022, 15:31

tried passing 6 breadcrumb links however it breaks the layout ON MOBILE if it didn't fit the screen anymore. is there a limitation for this breadcrumb link?

cetincakiroglu
Posts: 130
Joined: 17 Dec 2021, 09:33

14 Feb 2022, 09:38

Hi,

I couldn't replicate this issue, could you please provide a solid Stackblitz example. PrimeNG issue template https://stackblitz.com/github/primeface ... -template

Regards

lakhiii
Posts: 15
Joined: 11 Jan 2022, 17:43

14 Feb 2022, 15:54

You can try passing this breadcrumb label/links then run in developer tools as Iphone 12 mobile.

this.breadcrumbService.setItems([
{label: 'For Sale'},
{label: 'Country', routerLink: ['/pages/invoice']},
{label: 'State', routerLink: ['/pages/invoice']},
{label: 'City', routerLink: ['/pages/invoice']},
{label: 'Sample', routerLink: ['/pages/invoice']},
{label: '1215151452', routerLink: ['/pages/invoice']}
]);

see sample output of what happened

https://drive.google.com/file/d/1RLjMWX ... sp=sharing

cetincakiroglu
Posts: 130
Joined: 17 Dec 2021, 09:33

15 Feb 2022, 08:28

Hi,

You can override the default css in the related component to fix that.

For example;

Code: Select all

.route-bar-breadcrumb {
  white-space: nowrap;
  flex-wrap: wrap;
  justify-content: flex-start;
}
Regards

lakhiii
Posts: 15
Joined: 11 Jan 2022, 17:43

15 Feb 2022, 16:08

Thanks! it worked!

cetincakiroglu
Posts: 130
Joined: 17 Dec 2021, 09:33

16 Feb 2022, 09:11

You're welcome

Post Reply

Return to “Poseidon - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 15 guests