@stokelp/ui 2.43.3 → 2.43.4

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/ui.js CHANGED
@@ -13796,12 +13796,13 @@ const { withProvider: uu, withContext: dC } = J(ta), pu = uu(f(a9.Root), "root")
13796
13796
  return V4(() => {
13797
13797
  if (!H) return;
13798
13798
  const { id: V } = _();
13799
- if (!V) return;
13800
- const m = document.getElementById(V);
13801
- if (m) {
13802
- const P = m.querySelector("footer");
13803
- P && (w ? m.style.setProperty("--footer-height", `${Math.ceil(P.clientHeight)}px`) : m.style.setProperty("--footer-height", "70px"));
13804
- }
13799
+ V && setTimeout(() => {
13800
+ const m = document.getElementById(V);
13801
+ if (m) {
13802
+ const P = m.querySelector("footer");
13803
+ P && (w ? m.style.setProperty("--footer-height", `${Math.ceil(P.clientHeight)}px`) : m.style.setProperty("--footer-height", "70px"));
13804
+ }
13805
+ }, 0);
13805
13806
  }, [H, w]), /* @__PURE__ */ r(w5, { children: [
13806
13807
  /* @__PURE__ */ C(aC, {}),
13807
13808
  /* @__PURE__ */ C(uC, { children: /* @__PURE__ */ C(V1.Content, { ref: o, ...p, children: h }) })