ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

Dropdown content is rendered 11 times when opened

Open Leroy119 opened this issue 2 years ago • 0 comments

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

Version

3.2.20

Environment

Vue 3.2.45

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  • Check the codesandbox
  • Open the console
  • Click the "Click me" button

What is expected?

The content should only render a single time.

What is actually happening?

The content is rendered 11 times.


I ran into this bug because rendering a bigger list eg 100 items takes a performance his and freezes the UI for a second.

Leroy119 avatar Jun 05 '23 19:06 Leroy119