3h1-ui 2.9.12 → 2.10.0-alpha.0

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.
package/es/index.js CHANGED
@@ -13563,8 +13563,15 @@ function useTableScroll(propsRef, tableElRef, columnsRef, rowSelectionRef, getDa
13563
13563
  } else {
13564
13564
  bottomIncludeBody = getViewportOffset(headEl).bottomIncludeBody;
13565
13565
  }
13566
+ console.log("bottomIncludeBody", bottomIncludeBody);
13567
+ console.log("resizeHeightOffset", resizeHeightOffset);
13568
+ console.log("paddingHeight", paddingHeight);
13569
+ console.log("paginationHeight", paginationHeight);
13570
+ console.log("footerHeight", footerHeight);
13571
+ console.log("headerHeight", headerHeight);
13566
13572
  let height = bottomIncludeBody - (resizeHeightOffset || 0) - paddingHeight - paginationHeight - footerHeight - headerHeight;
13567
13573
  height = (height > maxHeight ? maxHeight : height) ?? height;
13574
+ height = Math.ceil(height);
13568
13575
  setHeight(height);
13569
13576
  bodyEl.style.height = `${height}px`;
13570
13577
  }
package/lib/index.js CHANGED
@@ -13565,8 +13565,15 @@ function useTableScroll(propsRef, tableElRef, columnsRef, rowSelectionRef, getDa
13565
13565
  } else {
13566
13566
  bottomIncludeBody = utils.getViewportOffset(headEl).bottomIncludeBody;
13567
13567
  }
13568
+ console.log("bottomIncludeBody", bottomIncludeBody);
13569
+ console.log("resizeHeightOffset", resizeHeightOffset);
13570
+ console.log("paddingHeight", paddingHeight);
13571
+ console.log("paginationHeight", paginationHeight);
13572
+ console.log("footerHeight", footerHeight);
13573
+ console.log("headerHeight", headerHeight);
13568
13574
  let height = bottomIncludeBody - (resizeHeightOffset || 0) - paddingHeight - paginationHeight - footerHeight - headerHeight;
13569
13575
  height = (height > maxHeight ? maxHeight : height) ?? height;
13576
+ height = Math.ceil(height);
13570
13577
  setHeight(height);
13571
13578
  bodyEl.style.height = `${height}px`;
13572
13579
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "3h1-ui",
3
- "version": "2.9.12",
3
+ "version": "2.10.0-alpha.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",