Skip to content

Table组件在无数据时,组件添加 scroll="{ x: 2000 }" 后报错。ResizeObserver loop limit exceeded  #6604

@serveboy

Description

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

Version

3.2.20

Environment

"vue": "^3.2.13",

Reproduction link

https://antdv.com/components/table-cn

Steps to reproduce

table 组件 data-source数据源数组为空时,table 组件使用 :scroll="{ x: 2000 }控制x 滚动。 会报错: ResizeObserver loop limit exceeded
at eval (webpack-internal:///./node_modules/webpack-dev-server/client/overlay.js:296:58)

What is expected?

给出解决办法

What is actually happening?

ResizeObserver loop limit exceeded
at eval (webpack-internal:///./node_modules/webpack-dev-server/client/overlay.js:296:58)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions