-
Notifications
You must be signed in to change notification settings - Fork 575
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
Fix/table scroll to row #4648
Fix/table scroll to row #4648
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4648 +/- ##
=======================================
Coverage 90.93% 90.93%
=======================================
Files 305 305
Lines 17922 17922
Branches 5295 5295
=======================================
Hits 16297 16297
Misses 1608 1608
Partials 17 17 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- PR里混杂了overlay的代码,是否是基于master检出的分支?
- 从实际含义上来说,新增的api命名为 keepForwardRenderRows 更合理
- demo内的解释不够清晰,参考: 虚拟滚动会卸载滚动到视区之外的行,行合并利用td元素的rowSpan属性,需要在合并的第一行设置rowSpan属性,若因滚动视区外卸载了该行,则会导致行合并失效,可以使用 keepForwardRenderRows 设置向前保留一定行数不被卸载,从而使行合并始终生效(设置 keepForwardRenderRows 大于 max rowSpan即可)
- demo缺少交互演示设置不同 keepForwardRenderRows 的效果
- 需要在table/base.jsx的propTypes内添加该api的jsdoc,文档api会依据这个jsdoc自动生成的
测试用例我后面帮你优化一下,你先改前面的内容 @YunMeng99 |
3b961d6
to
78a97d0
Compare
No description provided.