Skip to content

请问能否修改 cascader 的高度? #1926

@moriwang

Description

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

What problem does this feature solve?

目前无法通过 popupStyle 属性调节悬窗的高度,如果设置 height 超过 180px 的部分会出现空白。
我查看了原始的 css 样式,发现 .ant-cascader-menu 的高度被写死成了 180px。而且我无法通过 vue 组件内自定义 css 覆盖。

What does the proposed API look like?

提供一个调节高度的接口,作用于 .ant-cascader-menu 。

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