@26lights/orcha 0.41.95 → 0.41.96

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/orcha.es.js CHANGED
@@ -8209,16 +8209,14 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
8209
8209
  "letterSpacing",
8210
8210
  "wordSpacing"
8211
8211
  ];
8212
- B.style.position = "absolute", B.style.visibility = "hidden", B.style.whiteSpace = "pre-wrap", B.style.overflow = "hidden", K.forEach((k) => {
8213
- B.style[k] = Z.getPropertyValue(k);
8212
+ B.style.position = "absolute", B.style.visibility = "hidden", B.style.whiteSpace = "pre-wrap", B.style.overflow = "hidden", K.forEach((O) => {
8213
+ B.style[O] = Z.getPropertyValue(O);
8214
8214
  }), B.style.width = Z.getPropertyValue("width"), B.scrollTop = P.scrollTop, B.scrollLeft = P.scrollLeft;
8215
8215
  const te = P.value.substring(0, A), N = P.value.substring(A) || ".";
8216
8216
  B.textContent = te, R.textContent = N[0], B.appendChild(R), document.body.appendChild(B);
8217
8217
  const G = R.getBoundingClientRect(), ie = B.getBoundingClientRect(), se = P.getBoundingClientRect(), ee = G.top - ie.top + se.top - P.scrollTop, L = G.left - ie.left + se.left - P.scrollLeft;
8218
- document.body.removeChild(B);
8219
- const O = parseFloat(Z.lineHeight);
8220
- return {
8221
- top: ee + O,
8218
+ return document.body.removeChild(B), {
8219
+ top: ee + 50,
8222
8220
  // adjust vertical offset for dropdown
8223
8221
  left: L
8224
8222
  };