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

AutoComplete 组件的 placeholder 样式问题 #8084

Open
1 task done
jasonren0403 opened this issue Mar 19, 2025 · 0 comments
Open
1 task done

AutoComplete 组件的 placeholder 样式问题 #8084

jasonren0403 opened this issue Mar 19, 2025 · 0 comments

Comments

@jasonren0403
Copy link
Contributor

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.6

Environment

vue: 3.5.13

Reproduction link

https://github.com/jasonren0403/antdv-autocomplete-placeholder-toolong

Steps to reproduce

链接网页已部署 github pages 方便测试。

如重现链接网页所述,改变最上面两行下面的 input 框内容以测试不同长度 placeholder 的样式影响

最好将浏览器窗口缩窄,更好复现

What is expected?

auto-complete 组件在各种情况下都不应随着 placeholder 长度而变化,更不应溢出父容器(如 collapse 组件)

What is actually happening?

使用input-group compact布局以及此组件在一个父容器(如 collaspse panel)中,auto-complete 的长度会随placeholder长度变化而变化,在过长情况下会导致溢出

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

No branches or pull requests

1 participant