@vindral/web-sdk 4.7.0 → 4.7.1-1-g9d41bb8aa

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.
@@ -284,7 +284,7 @@ var A = /* @__PURE__ */ new WeakMap(), j = /* @__PURE__ */ new WeakMap(), M = /*
284
284
  if (i(j, this).style.setProperty("--tooltip-shift", "0px"), i(j, this).removeAttribute("below"), !i(A, this)) return;
285
285
  let e = i(A, this).getBoundingClientRect(), t = i(j, this).getBoundingClientRect();
286
286
  if (t.width === 0) return;
287
- i(j, this).toggleAttribute("below", t.top < e.top);
287
+ t.top < e.top && i(j, this).setAttribute("below", "");
288
288
  let n = e.left - t.left, r = t.right - e.right, a = 0;
289
289
  n > 0 ? a = n : r > 0 && (a = -r), i(j, this).style.setProperty("--tooltip-shift", `${a}px`);
290
290
  }), t(this, F, (e) => {