Skip to content

select组件设置了dropdownMatchSelectWidth为false,但是选择完选项后,dropdown menu依旧会变得跟下拉同宽 #2833

@yiptsangkin

Description

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

Version

2.0.0-beta.5

Environment

mac chrome vue2.6.11 vue-cli3

Reproduction link

https://antdv.com/components/select-cn/

Steps to reproduce

select组件设置了dropdownMatchSelectWidth为false,但是选择完选项后,dropdown menu依旧会变得跟下拉同宽,查看了下,dropdown menu的style从min-width变成了width,是这个导致的。

What is expected?

依旧不一样宽。

What is actually happening?

变成了同宽

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions