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] 在非虚拟表格中,调用scrollToElement滚动至首行 #4193

Open
McPorkChop opened this issue May 15, 2024 · 1 comment
Open

Comments

@McPorkChop
Copy link

McPorkChop commented May 15, 2024

tdesign-vue-next 版本

1.9.4

重现链接

https://codesandbox.io/p/devbox/tdesign-vue-next-demo-forked-lwmmkm

重现步骤

当表格数据量未达到 threshold 时,表格不开启虚拟滚动,调用scrollToElement。

期望结果

与开启虚拟滚动时保持一致

实际结果

无论当前所在哪行,或是指定跳转到哪行,始终都回跳转到首行

框架版本

Vue(3.4.27)

浏览器版本

No response

系统版本

No response

Node版本

v20

补充说明

iShot_2024-05-15_11.22.23.mp4

No response

Copy link
Contributor

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

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

No branches or pull requests

1 participant