@ninebone/table 0.0.628 → 0.0.629

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.
@@ -438,7 +438,12 @@ const Ie = class Ie {
438
438
  let f = 0;
439
439
  const u = s.querySelectorAll("tr");
440
440
  return u.forEach((g) => {
441
- H.log(g.offsetHeight, g.getBoundingClientRect().height), f += g.offsetHeight || g.getBoundingClientRect().height;
441
+ let b = g.offsetHeight || g.getBoundingClientRect().height;
442
+ if (b === 0) {
443
+ const m = window.getComputedStyle(g);
444
+ b = parseFloat(m.height) || parseFloat(m.minHeight) || 0;
445
+ }
446
+ H.log(g.offsetHeight, g.getBoundingClientRect().height, b), f += b;
442
447
  }), u.forEach((g) => g.remove()), o.style.display = a, o.style.visibility = h, o.style.position = l, H.log("totalHeight", f), y(this, _, f > 0 ? f : 24), t(this, Et).call(this), t(this, _);
443
448
  }, "#measureAndCacheHeight"));
444
449
  d(this, St, /* @__PURE__ */ c(() => {