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] 开启虚拟滚动出现 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'top') #4385

Closed
lgcxc opened this issue Jul 9, 2024 · 2 comments
Labels
to be published to be published

Comments

@lgcxc
Copy link

lgcxc commented Jul 9, 2024

tdesign-vue-next 版本

1.9.7

重现链接

https://stackblitz.com/edit/s8umrq?file=src%2Fdemo.vue

重现步骤

image image

期望结果

No response

实际结果

No response

框架版本

Vue(3.3.9)

浏览器版本

Chrome(126.0.6478.127)

系统版本

MacOS(14.4.1)

Node版本

No response

补充说明

No response

Copy link
Contributor

github-actions bot commented Jul 9, 2024

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

@hizhangbo
Copy link

I ran the same issue when using useAsyncData to fetch server api data and render them in the t-indexes component.

Uncaught TypeError: Cannot read properties of undefined (reading 'top')
    at scrollToByIndex2 (tdesign-mobile-vue.js?v=ee58a068:8402:209)
    at handleSidebarItemClick2 (tdesign-mobile-vue.js?v=ee58a068:8413:7)
    at onClick (tdesign-mobile-vue.js?v=ee58a068:8505:13)
    at callWithErrorHandling (chunk-EAUNOWDZ.js?v=ee58a068:2320:19)
    at callWithAsyncErrorHandling (chunk-EAUNOWDZ.js?v=ee58a068:2327:17)
    at HTMLDivElement.invoker (chunk-EAUNOWDZ.js?v=ee58a068:11190:5)

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

No branches or pull requests

3 participants