File tree Expand file tree Collapse file tree
packages/main/src/components/AnalyticalTable Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ const AnalyticalTable = forwardRef<AnalyticalTableDomRef, AnalyticalTablePropTyp
158158 minRows = 5 ,
159159 noDataText,
160160 overscanCount,
161- overscanCountHorizontal = 5 ,
161+ overscanCountHorizontal = 10 ,
162162 retainColumnWidth,
163163 reactTableOptions,
164164 renderRowSubComponent,
@@ -365,7 +365,7 @@ const AnalyticalTable = forwardRef<AnalyticalTableDomRef, AnalyticalTablePropTyp
365365 getScrollElement : ( ) => tableRef . current ,
366366 estimateSize : useCallback ( ( index ) => visibleColumnsWidth [ index ] , [ visibleColumnsWidth ] ) ,
367367 horizontal : true ,
368- overscan : isRtl ? Infinity : overscanCountHorizontal ,
368+ overscan : isRtl || scaleWidthMode !== AnalyticalTableScaleWidthMode . Default ? Infinity : overscanCountHorizontal ,
369369 indexAttribute : 'data-column-index' ,
370370 // necessary as otherwise values are rounded which leads to wrong total width calculation leading to unnecessary scrollbar
371371 measureElement : ! scaleXFactor || scaleXFactor === 1 ? ( el ) => el . getBoundingClientRect ( ) . width : undefined ,
You can’t perform that action at this time.
0 commit comments