Closed
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
4.2.3
Environment
macOS版本Ventura、Chrome版本127.0.6533.100、vue版本3.2
Reproduction link
Steps to reproduce
- 在
main.ts
中全局引入ant-design-vue
- 在
App.vue
中使用<a-config-provider>
,并配置dropdownmatchselectwidth
属性为 false - 在
App.vue
中使用<a-select>
,并配置options
,选项超过15条,部分选项字数超过10个字 - 本地运行
What is expected?
select选项的Dropdown宽度,根据文字长度拓宽以展示完整,超过select自身宽度
What is actually happening?
select选项的Dropdown宽度,未根据文字长度拓宽以展示完整,和select自身宽度相同
- 同样的场景,这个全局配置属性在 TreeSelect 使用正常
- 这个issue-helper version 好像选不了,version 应该是 ant-design-vue 4.2.3(当前最新版)