Skip to content

The a-modal component sets the zIndex, in which the a-select component is used. The drop-down box will be obscured. A-select does not have a drop-down level setting. It is recommended to add the a-select zIndex configuration item #3899

@hugselina2019

Description

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

Version

1.7.2

Environment

win10 64

Reproduction link

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

Steps to reproduce

复现原因如下,项目中有2个地方公用一个a-modal,没有使用destoryOnColse和v-if,由于modal复用 会引起层级问题 , 于是设置公用a-modal的zIndex 为 1100, 设置后 在a-modal中使用的a-select下拉被遮挡, 查找原因后改为设置zIndex = 1001 可以正常使用,建议增加a-select的zIndex配置项

What is expected?

可以配置a-select的zIndex

What is actually happening?

遮挡如图

image

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions