-
-
Notifications
You must be signed in to change notification settings - Fork 50.7k
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: Table getPopupContainer #17806
Conversation
Deploy preview for ant-design ready! Built with commit efecf5e |
Codecov Report
@@ Coverage Diff @@
## feature #17806 +/- ##
===========================================
- Coverage 96.13% 96.13% -0.01%
===========================================
Files 270 270
Lines 7461 7459 -2
Branches 2045 2087 +42
===========================================
- Hits 7173 7171 -2
Misses 286 286
Partials 2 2
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## feature #17806 +/- ##
===========================================
+ Coverage 96.13% 96.15% +0.01%
===========================================
Files 270 270
Lines 7461 7460 -1
Branches 2045 2088 +43
===========================================
Hits 7173 7173
+ Misses 286 285 -1
Partials 2 2
Continue to review full report at Codecov.
|
ConfigProvider? |
dropdownPrefixCls: string; | ||
columns: ColumnProps<T>[]; | ||
locale: TableLocale; | ||
getPopupContainer: TableProps<T>['getPopupContainer']; |
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.
改成 object 参数声明形式,增减参数比较方便。
请问antd 3.x Table组件的getPopupContainer为什么会没有效果呢?我看到源码好像是有提供的 |
🤔 This is a ...
🔗 Related issue link
close #17548
close #16876
close #14864
close #14426
💡 Background and solution
Expose this function for various of situation.
📝 Changelog
getPopupContainer
属性用于设置表格内的各类浮层渲染节点。- 修复 ConfigProvider
getPopupContainer
对 Table 不生效的问题。☑️ Self Check before Merge
View rendered components/table/index.en-US.md
View rendered components/table/index.zh-CN.md