@cloudtower/eagle 0.27.53-dry2 → 0.27.53-dry3

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/dist/umd/index.js CHANGED
@@ -8456,6 +8456,7 @@
8456
8456
 
8457
8457
  function canScroll(el, direction = "vertical") {
8458
8458
  const overflow = window.getComputedStyle(el).getPropertyValue("overflow");
8459
+ console.log("useTableBodyHasScrollBar canScroll", direction);
8459
8460
  if (overflow === "hidden")
8460
8461
  return false;
8461
8462
  if (direction === "vertical") {
@@ -8468,6 +8469,7 @@
8468
8469
  const useTableBodyHasScrollBar = (tableBodyEl, data) => {
8469
8470
  const [hasScrollBar, setHasScrollBar] = React.useState(false);
8470
8471
  const antTableBodyRef = React.useRef();
8472
+ console.log("useTableBodyHasScrollBar");
8471
8473
  const observeTableBodyResize = React.useMemo(
8472
8474
  () => new ResizeObserver((entries) => {
8473
8475
  const target = entries[0].target;