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

When the Table component hovers each row, it will trigger the re-rendering of the Table moved into the row #6003

Open
1 task
lwz1963785622 opened this issue Sep 30, 2022 · 3 comments

Comments

@lwz1963785622
Copy link

lwz1963785622 commented Sep 30, 2022

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

Version

3.2.12

Environment

Vue 3.2.33

Reproduction link

Edit on CodeSandbox

Steps to reproduce

1.打开控制台
2.鼠标移入表格中的某一行观察控制台输出

What is expected?

鼠标移入表格并不会触发行中任何组件的重渲染,控制台无任何输出

What is actually happening?

会发现每一行的组件都会触发render函数输出"重复渲染",即我移入某一行重渲染了当前表格页的所有row

@github-actions github-actions bot changed the title Table组件 hover 每一行时会触发 Table 移入行的重渲染 When the Table component hovers each row, it will trigger the re-rendering of the Table moved into the row Sep 30, 2022
@github-actions
Copy link

github-actions bot commented Oct 4, 2022

Hello @lwz1963785622. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please send your Pull Request to proper branch, fill the Pull Request Template here, provide changelog/TypeScript/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution!

你好 @lwz1963785622,我们完全同意你的提议/反馈,欢迎直接在此仓库创建一个 Pull Request 来解决这个问题。请将 Pull Request 发到正确的分支,务必填写 Pull Request 内的预设模板,提供改动所需相应的 changelog、TypeScript 定义、测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献。

@TsingfunLee
Copy link

同问

@DiegoMDS
Copy link

Any news on this topic? I'm going through the same situation, if I can somehow contribute to this solution I would love it and thank you very much Ant Design Vue team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants