@sciol/xyzen 1.9.95-beta.deb959a → 1.9.96-beta.9b23a00
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/xyzen.es.js +5 -2
- package/dist/xyzen.umd.js +3 -3
- package/package.json +1 -1
package/dist/xyzen.es.js
CHANGED
|
@@ -140229,6 +140229,10 @@ const Z1 = Xt(
|
|
|
140229
140229
|
}), Q = He(() => {
|
|
140230
140230
|
const z = _.current;
|
|
140231
140231
|
if (!z) return;
|
|
140232
|
+
if (!z.value) {
|
|
140233
|
+
z.style.height = "", z.style.overflowY = "hidden";
|
|
140234
|
+
return;
|
|
140235
|
+
}
|
|
140232
140236
|
z.style.height = "auto";
|
|
140233
140237
|
const G = 200;
|
|
140234
140238
|
z.style.height = `${Math.min(z.scrollHeight, G)}px`, z.style.overflowY = z.scrollHeight > G ? "auto" : "hidden";
|
|
@@ -140250,7 +140254,7 @@ const Z1 = Xt(
|
|
|
140250
140254
|
if (!G) return;
|
|
140251
140255
|
t(G) !== !1 && (b(""), x(null), C(!1), requestAnimationFrame(() => {
|
|
140252
140256
|
const Y = _.current;
|
|
140253
|
-
Y && (Y.style.height = "
|
|
140257
|
+
Y && (Y.style.height = "", Y.style.overflowY = "hidden");
|
|
140254
140258
|
}));
|
|
140255
140259
|
}, [w, f, t]), F = He(
|
|
140256
140260
|
async (z) => {
|
|
@@ -140420,7 +140424,6 @@ const Z1 = Xt(
|
|
|
140420
140424
|
"custom-scrollbar"
|
|
140421
140425
|
),
|
|
140422
140426
|
style: {
|
|
140423
|
-
minHeight: "36px",
|
|
140424
140427
|
maxHeight: "200px",
|
|
140425
140428
|
overflowY: "hidden"
|
|
140426
140429
|
}
|