@megha-ui/react 1.3.6 → 1.3.7
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.
|
@@ -85,6 +85,7 @@ const Dropdown = ({ options, selectedValues, onChange, placeholder = "Select..."
|
|
|
85
85
|
8 -
|
|
86
86
|
((_e = searchOptionRect === null || searchOptionRect === void 0 ? void 0 : searchOptionRect.height) !== null && _e !== void 0 ? _e : 0);
|
|
87
87
|
const overflowSpace = getOverflowParentHeight(wrapperRef.current, viewportSpace);
|
|
88
|
+
console.log({ overflowSpace });
|
|
88
89
|
setHeight(overflowSpace);
|
|
89
90
|
}
|
|
90
91
|
}
|
|
@@ -362,6 +363,7 @@ const Dropdown = ({ options, selectedValues, onChange, placeholder = "Select..."
|
|
|
362
363
|
}
|
|
363
364
|
return text;
|
|
364
365
|
};
|
|
366
|
+
console.log({ max: (maxDropdownHeight !== null && maxDropdownHeight !== void 0 ? maxDropdownHeight : height) ? `${height}px` : "" });
|
|
365
367
|
return (_jsxs("div", { style: {
|
|
366
368
|
width: width !== null && width !== void 0 ? width : "max-content",
|
|
367
369
|
marginBottom,
|
package/package.json
CHANGED