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

[Component] [autocomplete] For autocomplete, the presentation and input will be inconsistent without width #16619

Closed
xxholly32 opened this issue Apr 23, 2024 · 1 comment · Fixed by #16633

Comments

@xxholly32
Copy link
Sponsor Contributor

Bug Type: Component

Environment

  • Vue Version: 3.4.19
  • Element Plus Version: 2.5.6
  • Browser / OS: UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
  • Build Tool: Vite

Reproduction

Related Component

  • el-autocomplete

Reproduction Link

Element Plus Playground

Steps to reproduce

open playground url and move your mouse up

What is Expected?

First, the presentation is different by default
Second, The situation with clearable is also very different When you move your mouse up

What is actually happening?

different with el-input

Additional comments

Should add width:100% in .el-autocomplete ?

xxholly32 added a commit to xxholly32/element-plus that referenced this issue Apr 24, 2024
kooriookami pushed a commit that referenced this issue Apr 24, 2024
* fix: 🐛 update autocomplete default width

✅ Closes: 16619

* refactor: 💡 use input-width instead

✅ Closes: #16619
Copy link

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 May 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant