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

[table] 虚拟滚动带有单元格合并的,会出现错位 #4652

Open
lgcxc opened this issue Oct 15, 2024 · 3 comments
Open

[table] 虚拟滚动带有单元格合并的,会出现错位 #4652

lgcxc opened this issue Oct 15, 2024 · 3 comments
Labels
🐞 bug Something isn't working

Comments

@lgcxc
Copy link

lgcxc commented Oct 15, 2024

tdesign-vue-next 版本

1.10.2

重现链接

请看录屏

重现步骤

2024-10-15.14.29.13.mov

期望结果

No response

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

👋 @lgcxc,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@wangyang0210
Copy link
Contributor

如果设置了高度的话,的却有问题;
https://stackblitz.com/edit/gtezdp?file=src%2Fdemo.vue

@Cat1007
Copy link
Collaborator

Cat1007 commented Nov 11, 2024

这里合并单元格的实现,我估计是因为只有首个单元格占据所有宽度,被合并的单元格隐藏,当合并长度大于整个虚拟滚动的内容+buffer后,就会导致首个单元格销毁,而剩余的行因为被标识了处于合并状态,则不显示,如果要修正,应该要在合并开始消失的时候,重新选举下一个合并开始单元格来填充

@uyarn uyarn added the 🐞 bug Something isn't working label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants