material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

[Breadcrumbs] Collapsed component

Open phucproutt opened this issue 4 years ago • 3 comments

  • Firstly, It appears now that after clicking the collapsed component to expand the breadcrumbs, we don't have any options to back from expand mode to collapsed mode?
  • Secondly, is there anyway to unactive the action onClick on collapsed component (for my project now I want to implement a pop-up when hovering on the collapsed component?).
  • [x] The issue is present in the latest release.
  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

  • Add an option (maybe a button) so that we can click to back from expand mode to collapsed mode.
  • Maybe we can pass a custom component as a collapsed component and added a prop (expanded or not) so that we can control the expand/collapsed of breadcrumbs from parent component.

Benchmark

  • https://blueprintjs.com/docs/#core/components/breadcrumbs

phucproutt avatar Oct 25 '20 16:10 phucproutt

@phucproutt You don't have to use the collapse feature, you can build your own until this problem is better covered

oliviertassinari avatar Oct 25 '20 16:10 oliviertassinari

Yes for the second problem, I think I can add a custom component and do the hover functionality for sure but for the first problem, can you show me how to do it? If I have a button (just show in expand mode and use for back to collapsed mode so how can I do?).

phucproutt avatar Oct 25 '20 16:10 phucproutt

@phucproutt could you share your custom component I also need the same functionality a pop-up when hovering on the collapsed component. Thank you very much in advance.

tamascsaba avatar Apr 27 '24 10:04 tamascsaba