Skip to content

Can't click dropdown when the placement is topLeft and in a scrollable area #789

@hallee9000

Description

@hallee9000

Description

You can't click dropdown when the dropdown shows up at top in a scrollable area.
image

Reproduction

  • Put <Select> in a scrollable area (container)
  • Set its getPopupContainer as this container
  • Add animation to <Select>
  • Scroll it to the container's bottom
  • Click input box to show dropdown (You need to click twice, another bug)
  • You can't click the content in the dropdown

Here is an online demo
https://codesandbox.io/s/gallant-shtern-r88m4d?file=/src/App.tsx

Other information

Also in tree-select

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions