fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Disable items in <Nav /> component

Open Koniksan opened this issue 7 years ago • 9 comments

Add please in

This sounds like a reasonable ask to me! @betrue-final-final what do you think? Have we thought about allowing links in a Nav to be disabled?

natalieethell avatar Jan 29 '19 18:01 natalieethell

The implementation seems to be a <button />. If that's the case, then I think this request makes sense. Perhaps another use-case for getNativeProps if it'll solve similar cases. Only glanced at the source though.

Still worth getting consensus from others!

KevinTCoughlin avatar Jan 31 '19 06:01 KevinTCoughlin

Spoke to @betrue-final-final offline about this request, and we agree that it sounds reasonable! I'll try to create a PR with the changes today or tomorrow.

natalieethell avatar Jan 31 '19 19:01 natalieethell

Sorry for the delay here! We originally anticipated this addition would be quick and easy, but it involves a little more work with the styling, since Nav links override button styling and the disabled button styling is what we'd want to use.

natalieethell avatar Feb 12 '19 22:02 natalieethell

Since this work involves more in-depth discussion of the styling for several different types of links within a Nav, to make sure it gets the time and attention it needs and deserves, I'm going to add this to the backlog. Thanks for your patience here!

natalieethell avatar Feb 12 '19 22:02 natalieethell

@natalieethell Hi, how is going ? :)

Koniksan avatar Feb 20 '19 11:02 Koniksan

@Koniksan Hey thanks for checking in! Since this is now in backlog review, @micahgodbolt and @dzearing would know more about the status. Have we gotten a chance to review this feature request yet?

natalieethell avatar Feb 20 '19 17:02 natalieethell

@natalieethell Hey, we glad to contribute to the office ui fabric! I hope my PR help all of us with this issue :)

winperec avatar Feb 26 '19 15:02 winperec

:tada:This issue was addressed in #8120, which has now been successfully released as [email protected].:tada:

Handy links:

msft-github-bot avatar Mar 01 '19 13:03 msft-github-bot