feat: Breadcrumbs: More Information on collapsed Click
See original GitHub issueFeature Request
Ionic version:
[ ] 4.x [ ] 5.x [X] 6.x
Describe the Feature Request
The Breadcrumbs Component has a ionCollapsedClick
Output. I would like to have more Information here about which Breadcrumbs are currently collapsed, to only show these in a Popover.
Describe Preferred Solution
The Detail should contain the info for example like this:
{
collapsedBreadcrumbs: [
{
// all information we can get about that breadcrumb
}
]
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
feat: Breadcrumbs: More Information on collapsed Click · Issue ...
The Breadcrumbs Component has a ionCollapsedClick Output. I would like to have more Information here about which Breadcrumbs are currently ...
Read more >ion-breadcrumbs | Ionic Documentation
Breadcrumbs can be collapsed based on the maximum number that can show, and the collapsed indicator can be clicked on to present a...
Read more >Breadcrumb trails – come in and find out - Accessabilly
It reduces additional clicks on the way through a site and can help users to locate themselves inside the website hierachy.
Read more >42 Great CSS Breadcrumb Design Examples - Frontend Planet
In this article, you will discover 42 code snippets of hand-picked breadcrumb CSS design examples to get inspiration for creating your next website....
Read more >Collapsed section of navigation breadcrumb is too aggressive
This middle section collapses a bit too aggressively. I think we should only collapse beyond a certain threshold, say 3 or more levels...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Spoke with the team, and the current plan for adding more information is to provide an array of element references of the collapsed
ion-breadcrumb
components in theevent.detail
payload.From there developers can manipulate the data however they would like. For example, they could render the breadcrumb content as regular buttons by grabbing the
.textContent
value on each of theion-breadcrumb
components.In terms of automatically displaying a popover, this is not something we currently have planned as developers would lose a significant amount of customization by us abstracting away the
ion-popover
. However, we will be adding examples that will show developers how to get this wired up quickly.I can bring it up with the team and see what they think.