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 component has a css error when its value set to empty string #21871

Closed
1 task
sujingclg opened this issue Mar 4, 2020 · 2 comments · Fixed by #21880
Closed
1 task

select component has a css error when its value set to empty string #21871

sujingclg opened this issue Mar 4, 2020 · 2 comments · Fixed by #21880
Assignees
Labels
4.x In Ant Design 4.0 🐛 Bug Ant Design Team had proved that this is a bug. 👷🏻‍♂️ Someone working on it

Comments

@sujingclg
Copy link

sujingclg commented Mar 4, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Steps to reproduce

set select component's value to "", and delete all of option under it.

What is expected?

align(元素对齐)

What is actually happening?

not align(元素不能对齐)

Environment Info
antd 4.0.1
React 16.12.0
System MacOS
Browser Chrome
@afc163 afc163 added 4.x In Ant Design 4.0 🐛 Bug Ant Design Team had proved that this is a bug. labels Mar 4, 2020
@zombieJ
Copy link
Member

zombieJ commented Mar 4, 2020

Aha... 终于知道之前有些样式是干啥的了,重构需要带上。谢谢!

ref: #20538 (comment)

@afc163
Copy link
Member

afc163 commented Mar 4, 2020

我也忘了,果然要写注释。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x In Ant Design 4.0 🐛 Bug Ant Design Team had proved that this is a bug. 👷🏻‍♂️ Someone working on it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants