Skip to content

Dropdown "judders" if it can't figure out where to determine placement #51916

Closed
@mellis481

Description

@mellis481

Reproduction link

https://codesandbox.io/p/sandbox/8334zm

Steps to reproduce

  1. Open reproduction in new window (https://8334zm.csb.app/).
  2. Open dropdown in Actions column.

What is expected?

The action menu to correctly determine where to open based on available space.

What is actually happening?

It endlessly "judders", causing a horrible user experience.

Additional information

This reproduction users a specific column width to easily replicate the issue, but I have seen this issue numerous other locations outside of a table.

Environment Info
antd 5.22.3
React Latest
System Windows
Browser All

This seems to be caused by an rc-trigger change.

react-component/trigger#496
react-component/trigger#419

ref: UIEN-6867

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