@shoplflow/base 0.31.13 → 0.31.14
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4788,7 +4788,7 @@ var YearSelect = ({ optionList, className, parentClassName, activeValue, maxHeig
|
|
|
4788
4788
|
React3.useEffect(() => {
|
|
4789
4789
|
setIsOpened(isOpened);
|
|
4790
4790
|
}, []);
|
|
4791
|
-
const height = Math.min((_b = (_a = parentRef.current) == null ? void 0 : _a.scrollHeight) != null ? _b : 0, Number(maxHeight));
|
|
4791
|
+
const height = Math.min((_b = (_a = parentRef.current) == null ? void 0 : _a.scrollHeight) != null ? _b : 0, Number(parseInt(maxHeight || "0")));
|
|
4792
4792
|
React3.useEffect(() => {
|
|
4793
4793
|
var _a2, _b2, _c, _d, _e, _f;
|
|
4794
4794
|
if (!isAllRefMounted || !activeValue || !maxHeight) {
|