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]table组件中开启了useVirtual,dataSource是异步返回再传入,点击跳转到底部时onBodyScroll无法触发 #4394

Closed
jun599 opened this issue Jul 21, 2023 · 0 comments · Fixed by #4633
Assignees
Labels
🐞 Bug Something isn't working Next release issues to close in next release

Comments

@jun599
Copy link
Contributor

jun599 commented Jul 21, 2023

Component

Table

Reproduction link

https://riddle.alibaba-inc.com/riddles/6be83928

Steps to reproduce

table组件中开启了useVirtual,dataSource是异步返回再传入,点击跳到底部时onBodyScroll无法触发,导致再次滚动时会自动定位到第一行。注意:只有在渲染完成后不要有任何滚动,直接点击跳到底部,会出现这个情况。

@YunMeng99 YunMeng99 added 💡 Feature Request New feature or request improvement improve some features and removed 💡 Feature Request New feature or request labels Aug 8, 2023
@YunMeng99 YunMeng99 added 🐞 Bug Something isn't working and removed improvement improve some features labels Aug 18, 2023
@YSMJ1994 YSMJ1994 added the Next release issues to close in next release label Nov 30, 2023
@YSMJ1994 YSMJ1994 assigned kyokaxin and unassigned youluna Nov 30, 2023
@YSMJ1994 YSMJ1994 linked a pull request Dec 6, 2023 that will close this issue
YSMJ1994 added a commit that referenced this issue Dec 6, 2023
* fix(Table): set initial value for lastScrollTop, close #4394

* chore(Table): adjust test spec

---------

Co-authored-by: 珵之 <chengzhi.zpc@alibaba-inc.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug Something isn't working Next release issues to close in next release
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants