ant-design/ant-design

Select: define the width of select item option

开放

#30,165 创建于 2021年4月16日

 (3 条评论) (4 个反应) (0 位负责人)TypeScript (54,612 个派生)batch import
Inactivehelp wanted💡 Feature Request

仓库指标

星标
 (98,031 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

What problem does this feature solve?

I has more the 50 items in a multi-select. I think a wide and multi-column or grid drop down panel is better than current single column drop down list.

What does the proposed API look like?

 // the width of select item option (default is as wide as the drop down list )
selectItemWidth: number | string; 

贡献者指南