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

Uncaught RangeError: Maximum call stack size exceeded 在table 组件中滑动滚动条,控制台报了上千个警告

Open yangfan0909 opened this issue 1 year ago • 12 comments
trafficstars

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

Version

4.2.1

Environment

"vue": "^3.4.27"

Reproduction link

https://codesandbox.io/p/devbox/tender-violet-xj5j5f

Steps to reproduce

先把浏览器控制台打开,滑动滚动条,滚到底部的过程中,控制台就会报上千个警告

What is expected?

不要报错

What is actually happening?

先把浏览器控制台打开,滑动滚动条,滚到底部的过程中,控制台就会报上千个警告

image

yangfan0909 avatar May 22 '24 06:05 yangfan0909

暂时解决: vue 版本3.3.4 ,不要写^

yangfan0909 avatar May 23 '24 08:05 yangfan0909

@selicens @tangjinzhou 看一下 vue 3.4.x下报这个错,紧急修复下吧

wsxe9988 avatar May 29 '24 03:05 wsxe9988

3.4 对于 computed 进行了优化:https://github.com/vuejs/core/pull/5912

是否将 eagerComputed 切换回 computed ?

cc-hearts avatar May 29 '24 16:05 cc-hearts

+1

fuxianwei avatar Jun 01 '24 03:06 fuxianwei

I also encountered this problem, the version of vue is 3.4.21.

orionna319 avatar Jun 04 '24 11:06 orionna319

Is there any way to solve this problem? For example, using pnpm patch is also a temporary solution.

orionna319 avatar Jun 04 '24 11:06 orionna319

image Here's my patch (FYI)

cc-hearts avatar Jun 04 '24 14:06 cc-hearts

+1

fuxianwei avatar Jun 14 '24 03:06 fuxianwei

vue 3.5.0 will resolve

cc-hearts avatar Jun 26 '24 14:06 cc-hearts

+1

qiuweikangdev avatar Jul 15 '24 06:07 qiuweikangdev

+1

phunguyenmurcul avatar Jul 24 '24 09:07 phunguyenmurcul

+1

ns265422 avatar Aug 06 '24 11:08 ns265422

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Oct 06 '24 02:10 github-actions[bot]