question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feat: Breadcrumbs: More Information on collapsed Click

See original GitHub issue

Feature 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:closed
  • Created 2 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
liamdebeasicommented, Jul 12, 2021

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 the event.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 the ion-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.

1reaction
liamdebeasicommented, Jul 1, 2021

I can bring it up with the team and see what they think.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found