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

[Style] [input] el-input配置clearable后,清除图标的显示和隐藏会影响input框的宽度 #11436

Closed
qianxing123 opened this issue Feb 7, 2023 · 3 comments

Comments

@qianxing123
Copy link

Bug Type: Style

Environment

  • Vue Version: 3.2.45
  • Element Plus Version: 2.2.29
  • Browser / OS: Chrome 版本 109.0.5414.120(正式版本) (64 位)
  • Build Tool: Webpack

Reproduction

Related Component

  • el-input

Reproduction Link

Element Plus Playground

Steps to reproduce

1.el-form 配置inline属性 2.el-input配置clearable 3.给input输入文本 4.input聚焦失焦切换

What is Expected?

鼠标移入input框,icon显示,输入框宽度不变

What is actually happening?

鼠标移入input框,icon显示,输入框宽度变长

Additional comments

(empty)

@acyza
Copy link
Contributor

acyza commented Feb 7, 2023

duplicate #11370

@tolking
Copy link
Member

tolking commented Feb 7, 2023

Duplicate of #7287

It is recommended to set the default width for Input component

@tolking tolking closed this as completed Feb 7, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 7, 2023
@github-actions
Copy link

github-actions bot commented Mar 9, 2023

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。

@github-actions github-actions bot locked and limited conversation to collaborators Mar 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants