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

ie11浏览器下input输入框 placeholder文字偏移 #17753

Closed
1 task done
jiajun2048 opened this issue Jul 19, 2019 · 0 comments · Fixed by #17759 or #18348
Closed
1 task done

ie11浏览器下input输入框 placeholder文字偏移 #17753

jiajun2048 opened this issue Jul 19, 2019 · 0 comments · Fixed by #17759 or #18348

Comments

@jiajun2048
Copy link

jiajun2048 commented Jul 19, 2019

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

Reproduction link

https://ant.design/components/input-cn/

Steps to reproduce

请使用 ie11 浏览器中打开链接,可以看到代码演示内容

What is expected?

placeholder 内容能够居中显示

What is actually happening?

placeholder 往下偏移

Environment Info
antd 3.20.5
React >=16.0.0
System windows7
Browser ie11

因为部分使用者电脑需要使用ie11浏览器,所以发现该问题。
应该是和 input 组件的 line-height 有关系。
调查发现 antd 3.19.3之前的版本,能够显示正常。可能是由于fix issues:17082 ( #17082) 导致的原因。

afc163 added a commit that referenced this issue Jul 20, 2019
afc163 added a commit that referenced this issue Jul 20, 2019
afc163 added a commit that referenced this issue Aug 19, 2019
close #18347
close #18313
close #17753

The fix of #17759 did not resolve IE11
lewis617 pushed a commit to lewis617/ant-design that referenced this issue Aug 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants