diff --git a/src/Header/FixedHeader.tsx b/src/Header/FixedHeader.tsx index d83e8f13b..40494e1c7 100644 --- a/src/Header/FixedHeader.tsx +++ b/src/Header/FixedHeader.tsx @@ -25,6 +25,7 @@ function useColumnWidth(colWidths: readonly number[], columCount: number) { export interface FixedHeaderProps extends HeaderProps { noData: boolean; + maxContentScroll: boolean; colWidths: readonly number[]; columCount: number; direction: 'ltr' | 'rtl'; @@ -48,6 +49,7 @@ const FixedHeader = React.forwardRef>( offsetHeader, stickyClassName, onScroll, + maxContentScroll, ...props }, ref, @@ -138,7 +140,7 @@ const FixedHeader = React.forwardRef>( visibility: noData || mergedColumnWidth ? null : 'hidden', }} > - {(!noData || allFlattenColumnsWithWidth) && ( + {(!noData || !maxContentScroll || allFlattenColumnsWithWidth) && ( (props: TableProps(props: TableProps + + + + + + + + + + + + + + +