-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Set the disabled css class so that the text is greyed out. #1295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
is this a feature from bootstrap? could you provide more context please? |
I think you could say that. This change makes the inner text of the dropdown match this less rule from Bootstrap: https://github.com/twbs/bootstrap/blob/master/less/navbar.less#L434 |
Does this properly prevent the |
The click is already correctly prevented. This change only affects the appearance so that it looks disabled. |
Ah. Cool. LGTM. Need +1 reviewer. |
I am a bit concerned that this is too implementation specific to go on the general Dropdown. would this present annoying styling resets for custom menus/toggles? Would it make more sense for the DropdownButton(s) to set it? |
Wouldn't that only be the case if they've defined a |
@jquense ping |
@AlexKVal Done. |
I presume we cannot merge it yet because of @jquense concern. |
I think my concern as abated for now. LGTM |
Set the disabled css class so that the text is greyed out.
@tannewt thank you for your contribution 🍒 |
Np! Happy to help.
|
No description provided.