Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当TreeSelect的是multiple且max-tag-count="responsive"时,在开发环境下出现ResizeObserver loop limit exceeded #6551

Closed
1 task done
IvanLuLyf opened this issue May 10, 2023 · 2 comments
Labels

Comments

@IvanLuLyf
Copy link

IvanLuLyf commented May 10, 2023

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

Version

3.2.19

Environment

any os,any browser, vue3

Reproduction link

Steps to reproduce

<template>
  <div>
    <a-tree-select
      style="width: 278px"
      :tree-data="treeData"
      multiple
      max-tag-count="responsive"
    />
  </div>
</template>

<script>
export default {
  name: "DemoPurePage",
  components: {},
  data() {
    return {
      treeData: [
        { title: "测试内容1", value: "1", id: "1" },
        { title: "测试内容2", value: "2", id: "2" },
        { title: "测试内容3", value: "3", id: "3" },
        { title: "测试内容4", value: "4", id: "4" },
      ],
      value: [],
    };
  },
};
</script>

然后随便选一些选项

在Chromium内核下
image

在FireFox下
image

What is expected?

不应该出现问题

What is actually happening?

怀疑是MultipleSelector.tsx中的Overflow组件的ResizeObserver有问题

@tangjinzhou
Copy link
Member

webpack devServer 添加

client: {
      overlay: false,
    },

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants