pace-table-lib 1.0.48 → 1.0.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17517,6 +17517,14 @@ function StaticTable({
17517
17517
  }, 0);
17518
17518
  return () => clearTimeout(t);
17519
17519
  }, [tableWidth, tableHeight, tableData, isFitTableOn, Table2, measureFormatConfigs]);
17520
+ useEffect(() => {
17521
+ if (colHeaderWrapperRef && colHeaderWrapperRef.current) {
17522
+ colHeaderWrapperRef.current.style.left = "0px";
17523
+ }
17524
+ if (rowHeaderWrapperRef && rowHeaderWrapperRef.current) {
17525
+ rowHeaderWrapperRef.current.style.top = "0px";
17526
+ }
17527
+ }, [isFitTableOn]);
17520
17528
  const conditionalFormatsByType = useMemo(() => {
17521
17529
  const map = { value: [], "row header": [], "column header": [] };
17522
17530
  conditionalFormatArr?.forEach((format) => {