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

Switch组件在disabled的时候,当前状态显示不够明显 #2051

Closed
codering opened this issue Jun 15, 2016 · 4 comments
Closed

Switch组件在disabled的时候,当前状态显示不够明显 #2051

codering opened this issue Jun 15, 2016 · 4 comments

Comments

@codering
Copy link

codering commented Jun 15, 2016

你做了什么?

Switch 组件 disabled 状态切换

你期待的结果是:

disabled时,不论是否checked, 都应该看当前状态的文字(图标)

实际上的结果和抱怨:

disabled时, 背景色 与 当前状态的文字(图标)颜色太接近了,完全看不出来

禁用前
image

禁用后
image

可重现的在线演示

http://codepen.io/anon/pen/OXXPRX?editors=001

本地环境信息

  • antd 版本: 1.4
  • 操作系统及其版本:
  • 浏览器及其版本:
@codering codering changed the title Swith组件在disabled的时候,当前状态显示不够明显 Switch组件在disabled的时候,当前状态显示不够明显 Jun 15, 2016
@afc163
Copy link
Member

afc163 commented Jun 15, 2016

duplicate #2050

@afc163 afc163 closed this as completed Jun 15, 2016
@codering
Copy link
Author

啊,我也关掉一个,这个重开下吧 @afc163

@afc163
Copy link
Member

afc163 commented Jun 15, 2016

你建的 issue,你可以自行操作。

@lock
Copy link

lock bot commented May 5, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants