fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Breadcrumb: if an item doesn't have an onClick it still looks clickable.

Open dzearing opened this issue 10 years ago • 3 comments

We should be rendering non-clickable entities as non-clickable. Instead it has a hover state and cursor treatment.

dzearing avatar Nov 08 '16 06:11 dzearing

I think non clickable things should render as divs/spans or whatnot, rather than buttons. Clickable things should be buttons.

dzearing avatar Nov 11 '16 17:11 dzearing

Could we get a screenshot?

ericthompson avatar Nov 11 '16 20:11 ericthompson

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

dzearing avatar Nov 11 '16 22:11 dzearing