feat: add routing support to breadcrumbs
See original GitHub issueFeature Request
Ionic version:
[ ] 4.x [ ] 5.x [X] 6.x
Describe the Feature Request
The default routerDirection
on a <ion-breadcrumb>
is currently forward. I think it would be better to determinate that on the active Breadcrumb.
Describe Preferred Solution
If a user clicked on a Breadcrumb that is before the currently active one, the router Direction should be backwards
, otherwise forward
.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:5 (4 by maintainers)
Top Results From Across the Web
icd2k3/use-react-router-breadcrumbs: tiny, flexible ... - GitHub
Add breadcrumbs to your existing route object. This is a great way to keep all routing config paths in a single place! If...
Read more >Build dynamic breadcrumb routes and child routes with ...
Let alone need to implement a custom route for every new page. In this post I go into what I ended up with...
Read more >Add Routing to Breadcrumb component - Stack Overflow
I've created a Breadcrumb component but I'm struggling to add routing to it. So far, the component is able to load a custom...
Read more >In-app navigation: routing to views - Angular
Use it to store items such as page titles, breadcrumb text, and other read-only, static data. You can use the resolve guard to...
Read more >Automatically generating a breadcrumb with React Router
Providing the user a path of going back in a UI is a must, so adding a navigational element that shows the route...
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
Thanks for the additional information. I think the bigger request here is to add routing integration to the breadcrumbs. Right now, the team is not really in favor of adding that since we don’t have enough information to implement it in a way that would be useful to developers, but I am going to keep this issue open for now.
For others interested in this feature, please reply below with your use case. If you don’t have a use case but are still interested in seeing this feature, please add an emoji reaction to the original issue instead of commenting “+1” below. Thanks!
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.