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.
@@ -17536,6 +17536,14 @@
17536
17536
  }, 0);
17537
17537
  return () => clearTimeout(t);
17538
17538
  }, [tableWidth, tableHeight, tableData, isFitTableOn, Table2, measureFormatConfigs]);
17539
+ React.useEffect(() => {
17540
+ if (colHeaderWrapperRef && colHeaderWrapperRef.current) {
17541
+ colHeaderWrapperRef.current.style.left = "0px";
17542
+ }
17543
+ if (rowHeaderWrapperRef && rowHeaderWrapperRef.current) {
17544
+ rowHeaderWrapperRef.current.style.top = "0px";
17545
+ }
17546
+ }, [isFitTableOn]);
17539
17547
  const conditionalFormatsByType = React.useMemo(() => {
17540
17548
  const map = { value: [], "row header": [], "column header": [] };
17541
17549
  conditionalFormatArr?.forEach((format) => {