@hybr1d-tech/charizard 0.7.180 → 0.7.181

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/hybr1d-ui.js CHANGED
@@ -11622,7 +11622,14 @@ function Vx({
11622
11622
  closeOnInteractOutside: !0
11623
11623
  })
11624
11624
  ), u = p1.connect(i, o, u0);
11625
- return /* @__PURE__ */ t.jsxs("div", { className: j1.box, style: a, children: [
11625
+ return q.useEffect(() => {
11626
+ const m = () => {
11627
+ u.open && o("CLOSE");
11628
+ }, d = document.querySelector("#zap-table-scroll-container");
11629
+ return d && d.addEventListener("scroll", m), () => {
11630
+ d && d.removeEventListener("scroll", m);
11631
+ };
11632
+ }, [u.open]), /* @__PURE__ */ t.jsxs("div", { className: j1.box, style: a, children: [
11626
11633
  s.map(c),
11627
11634
  r.length > 0 && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
11628
11635
  /* @__PURE__ */ t.jsx("button", { ...u.getTriggerProps(), className: b("zap-reset-btn", j1.trigger), children: /* @__PURE__ */ t.jsx(L1, { children: `+${r.length}` }) }),