Skip to content
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

Dropdown won't be fully disabled #8991

mogita opened this issue Jan 17, 2018 · 0 comments · Fixed by #9013

Dropdown won't be fully disabled #8991

mogita opened this issue Jan 17, 2018 · 0 comments · Fixed by #9013


Copy link

mogita commented Jan 17, 2018




Chrome latest, macOS latest, react 16.1.1

Reproduction link

Steps to reproduce

Create a Dropdown.Button component, add a "disabled" prop.

What is expected?

The left-side button and right-side dropdown triangle button both get disabled: not clickable, and turns grey.

What is actually happening?

Only the left-side button gets disabled, while the right-side button remains clickable and in default color, though no menu would appear, which is NOT a full disabled presentation leaving an inconsistent visual appearance.

The right-side button is rendered as a "button" element. Give it a "disabled" prop and it looks perfect.

<button type="button" class="ant-btn ant-dropdown-trigger ant-btn-default" disabled><i class="anticon anticon-down"></i></button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging a pull request may close this issue.

3 participants