@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.cjs.js +1 -1
- package/dist/orcha.es.js +4 -6
- package/dist/orcha.umd.js +2 -2
- package/package.json +2 -2
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((
|
|
8213
|
-
B.style[
|
|
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
|
-
|
|
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
|
};
|