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

feat: support virtual components.body #1069

Merged

Conversation

linxianxi
Copy link
Contributor

@linxianxi linxianxi commented Jan 22, 2024

close ant-design/ant-design#47090
close ant-design/ant-design#47073

ref: ant-design/ant-design#46866
ref: ant-design/ant-design#46295

Notice: components.body.wrapper 的自定义组件需要用 React.forwardRef 包裹并传递 ref,因为 rc-virtual-list 有用到它做计算

Copy link

vercel bot commented Jan 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
table ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2024 8:20am

Copy link

codecov bot commented Jan 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5926b1c) 99.51% compared to head (0d03462) 99.51%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1069   +/-   ##
=======================================
  Coverage   99.51%   99.51%           
=======================================
  Files          47       47           
  Lines        4545     4564   +19     
  Branches      577      578    +1     
=======================================
+ Hits         4523     4542   +19     
  Misses         22       22           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

src/VirtualTable/index.tsx Outdated Show resolved Hide resolved
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

Successfully merging this pull request may close these issues.

Table 使用虚拟列表(virtual)时,无法自定义 Table 元素(components)
2 participants