Skip to content

select in the modal, the ant-select-dropdown 's position cannot translation when the modal scroll #4603

@ltgan1121

Description

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

Version

2.2.6

Environment

ant 2.2.6 , chrome 88 , vue3

Reproduction link

https://ltgan1121.github.io/mylab/hello-v3/dist/

Steps to reproduce

1、open a modal with a select.
2、click select show the dropdown
3、scroll the modal(when the ant-modal is higher than the screen height)

What is expected?

the select dropdown is right under the select

What is actually happening?

the select dropdown not translate to the select


demo:https://ltgan1121.github.io/mylab/hello-v3/dist/
code:https://github.com/ltgan1121/mylab/tree/main/hello-v3

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