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

Input component line height fluctuation problem(Input组件的行高变动) #174

Closed
Yiuman opened this issue Jun 17, 2021 · 2 comments · Fixed by #183
Closed

Input component line height fluctuation problem(Input组件的行高变动) #174

Yiuman opened this issue Jun 17, 2021 · 2 comments · Fixed by #183

Comments

@Yiuman
Copy link
Contributor

Yiuman commented Jun 17, 2021

TuSimple/naive-ui version (版本)

2.12.0

Vue version (Vue 版本)

3.1.1

Browser and its version (浏览器及其版本)

91.0.4472.101

System and its version (系统及其版本)

MacOS(11.4)

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/xlw4g

Reappearance steps (重现步骤)

1.Input numbers or letters (输入数字或者字母)
2.Input Chinese Characters (输入中文字符,此时可见Input组件的行高改变)

Expected results (期望的结果)

Whatever you put in,line-height does not change.(无论输入什么行高都不改变,不跳动)

Actual results (实际的结果)

Line height fluctuation problem

Remarks (补充说明)

@Volankey
Copy link
Collaborator

image
设置行高可修复这个bug
可以提个pr吗? 应该不难

@Yiuman
Copy link
Contributor Author

Yiuman commented Jun 17, 2021

我有时间看看吧~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants