-
-
Notifications
You must be signed in to change notification settings - Fork 613
Open
Description
Line 362 in ef7afbc
const fixHeader = scroll && validateValue(scroll.y); |
Lines 376 to 380 in ef7afbc
const fixFooter = | |
(fixHeader || isSticky) && | |
React.isValidElement(summaryNode) && | |
summaryNode.type === Summary && | |
(summaryNode.props as SummaryProps).fixed; |
如果不给 Table 组件传 scorll.y 或 sticky 属性,那么 Summary 的 fixed 属性赋值为 'top' 是失效的,比如:
https://stackblitz.com/edit/react-gxnxdv?embed=1&file=demo.tsx
Metadata
Metadata
Assignees
Labels
No labels