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

select focus style problem after upgrade to latest #1684

Closed
Aggie123 opened this issue May 13, 2016 · 7 comments
Closed

select focus style problem after upgrade to latest #1684

Aggie123 opened this issue May 13, 2016 · 7 comments

Comments

@Aggie123
Copy link

antd升级到1.0.1之后,select选中之后样式出现以下问题,是怎么回事呢:
2016-05-13 11-40-46

@afc163
Copy link
Member

afc163 commented May 13, 2016

麻烦提供一个可重现的演示,帮助我们更快的排查到问题。:smile:

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

@Aggie123
Copy link
Author

不好意思,不太好复现,我描述一下问题,大概分析如下:

focus的样式问题,临时解决方案是把下面这个样式注掉就OK了:
.ant-select-combobox .ant-select-search__field:focus {
/box-shadow: 0 0 0 1px #57c5f7, 0 0 0 3px #d5f1fd;/
}

我看官网API文档上的例子,区别是本地缺少这个mock-browser.less,这个文件在哪获取?
.ant-select-combobox .ant-select-search__field:focus {
box-shadow: none;
}

希望描述的清楚,谢谢!

@afc163 afc163 closed this as completed in 5b921b6 May 13, 2016
@afc163
Copy link
Member

afc163 commented May 13, 2016

感谢提供进一步的信息,确实有问题,已在主干修复。

@Aggie123
Copy link
Author

辛苦了!

@afc163
Copy link
Member

afc163 commented May 13, 2016

尽量多一些细节就很有帮助,我们有时候官网看看没问题容易忽略掉。

@Aggie123
Copy link
Author

Rogers!

@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