@snowpact/react-tanstack-query-table 1.10.4 → 1.10.5

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/index.js CHANGED
@@ -6028,7 +6028,9 @@ function jf({ label: e, x: t, y: n }) {
6028
6028
  return Qo(() => {
6029
6029
  const s = o.current, a = r.current;
6030
6030
  if (!s || !a) return;
6031
- const c = s.offsetWidth, u = window.innerWidth - Zo, l = Zo;
6031
+ const c = s.offsetWidth;
6032
+ if (c === 0) return;
6033
+ const u = window.innerWidth - Zo, l = Zo;
6032
6034
  let p = t;
6033
6035
  if (t + c / 2 > u && (p = u - c / 2), t - c / 2 < l && (p = l + c / 2), p !== t) {
6034
6036
  s.style.left = `${p}px`;