ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

AutoComplete 组件的 placeholder 样式问题

Open jasonren0403 opened this issue 8 months ago • 2 comments
trafficstars

  • [x] 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长度变化而变化,在过长情况下会导致溢出

jasonren0403 avatar Mar 19 '25 09:03 jasonren0403

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar May 19 '25 03:05 github-actions[bot]

这个没人解决吗

jasonren0403 avatar May 20 '25 07:05 jasonren0403

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jul 20 '25 03:07 github-actions[bot]