-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
[Component] [select] el-select的disabled属性切换时,如果自定义了line-height,里面input框的高度计算有问题 #10840
Comments
MrWeilian
added a commit
to MrWeilian/element-plus
that referenced
this issue
Dec 1, 2022
3 tasks
MrWeilian
added a commit
to MrWeilian/element-plus
that referenced
this issue
Dec 1, 2022
MrWeilian
added a commit
to MrWeilian/element-plus
that referenced
this issue
Dec 1, 2022
fix(components): [select] support custom height (element-plus#10840)
MrWeilian
added a commit
to MrWeilian/element-plus
that referenced
this issue
Feb 11, 2023
MrWeilian
added a commit
to MrWeilian/element-plus
that referenced
this issue
Feb 11, 2023
fix(components): [select] support custom height (element-plus#10840)
MrWeilian
added a commit
to MrWeilian/element-plus
that referenced
this issue
Feb 11, 2023
MrWeilian
added a commit
to MrWeilian/element-plus
that referenced
this issue
Feb 27, 2023
fix(components): [select] support custom height (element-plus#10840)
MrWeilian
added a commit
to MrWeilian/element-plus
that referenced
this issue
Feb 27, 2023
chenxch
pushed a commit
that referenced
this issue
Feb 27, 2023
loosheng
pushed a commit
to loosheng/element-plus
that referenced
this issue
Mar 26, 2023
…lement-plus#10847) * fix(components): [select] support custom height (element-plus#10840) fix(components): [select] support custom height (element-plus#10840) * fix(components): [select] support custom height (element-plus#10840)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Type:
Component
Environment
3.2.37
2.2.25
edge 104.0.1293.70
Vite
Reproduction
Related Component
el-select
Reproduction Link
Element Plus Playground
Steps to reproduce
1.将el-input的css变量--el-input-height置为42px;
2.改变el-select的disabled属性
3.会发现input的高度被强制设为了30px,但是我line-height设置为42px,所以应该计算为40px
What is Expected?
input高度计算为40px,或者不设置height属性
What is actually happening?
input高度计算为30px,导致变矮
Additional comments
(empty)
The text was updated successfully, but these errors were encountered: