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

[Bug Report] el-select >In some cases, modifying its disable attribute changes the height style #15818

Closed
Finyu opened this issue May 31, 2019 · 2 comments

Comments

@Finyu
Copy link

Finyu commented May 31, 2019

Element UI version

2.8.2

OS/Browsers version

window7/Chrome

Vue version

2.6.10

Reproduction Link

https://codepen.io/anon/pen/PvxQKw?&editable=true

Steps to reproduce

Add the parent node p to the select component, give it the lineHeight attribute of 50px, and then modify the disable attribute of the select,

What is Expected?

Select height unchanged

What is actually happening?

you will find that the height of the select has changed to 50px,

@ziyoung ziyoung added this to the 2.10.0 milestone Jun 12, 2019
@noxxxxxxxx
Copy link

Element UI version

2.8.2

OS/Browsers version

window7/Chrome

Vue version

2.6.10

Reproduction Link

https://codepen.io/hjoker/pen/PrqRvp

use size="small" and :disabled="test === 1" in select component , if variable test value change in the Promise or setTimeout function, size="small" will be useless.

@ziyoung
Copy link
Contributor

ziyoung commented Jun 13, 2019

fixed in #15989

@ziyoung ziyoung closed this as completed Jun 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants