Breadcrumb: Home item not using item slot #3604
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
The home item no longer uses the code in the slot, this was introduced as part of this pr: #3506, although this is supposed to fix a different issue. This was working for us in 3.20.x but broke when I upgraded to 3.22.3, I would assume it broke earlier than that though.
We were using this to have a custom display for the home item, so that it aligns with the other items. It feels wrong that all the items use the slot except the home item.
I've done a basic example since I can't copy our example, but as you can see the item has a margin from the icon to the text where as the home item doesn't.
Reproducer
https://codesandbox.io/s/adoring-perlman-cchc7z?file=/src/App.vue
PrimeVue version
3.22.4
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite/Vue
Browser(s)
Any
Steps to reproduce the behavior
Just open the code sandbox and look at the difference between icons.
Expected behavior
I would expect to have the breadcrumb home item use the same slot as the rest of the items
The text was updated successfully, but these errors were encountered: