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

Using scroll prop on ATable causes unexpected rendering when changing AForm on the same page.

Open Fnxxxxo opened this issue 3 years ago • 0 comments
trafficstars

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

Version

1.7.8

Environment

Vue#2.6.14, Chrome#102, win#10

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Init AForm and ATable on the same page and set Scroll prop on the ATable. Then change input of AForm.

What is expected?

Only input happens. Nothing else.

What is actually happening?

Both AForm and ATable change and render. You find it by consoling on customRender callback or highlighting in devtools。


In my real function. This table has 50 or more rows with customRender calculations. This rendering cause significant performance issue when try inputing in the banner filter.

Fnxxxxo avatar Aug 10 '22 09:08 Fnxxxxo