fluentui
fluentui copied to clipboard
Breadcrumb: if an item doesn't have an onClick it still looks clickable.
We should be rendering non-clickable entities as non-clickable. Instead it has a hover state and cursor treatment.
I think non clickable things should render as divs/spans or whatnot, rather than buttons. Clickable things should be buttons.
Could we get a screenshot?
Just try it. Here's a bunch of breadcrumbs that don't have onClicks. But they have hover, they're focusable (they shouldn't be), cursor.. This isn't really a css tweak, it's more of a DOM tweak. We just need to render the correct type of html element which can't be focused.
http://codepen.io/dzearing/pen/QGNLVZ?editors=0010