@oliasoft-open-source/react-ui-library 3.1.27 → 3.1.28
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.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27424,7 +27424,7 @@ const CustomSelect = ({
|
|
|
27424
27424
|
const getLayerWidth = useCallback$1((triggerBounds2) => {
|
|
27425
27425
|
if (!autoLayerWidth)
|
|
27426
27426
|
return triggerBounds2.width;
|
|
27427
|
-
const layerWidth = Math.max(getWidestOptionWidth(), triggerBounds2.width);
|
|
27427
|
+
const layerWidth = Math.max(getWidestOptionWidth(options, small2, isFontLoaded, placeholder3), triggerBounds2.width);
|
|
27428
27428
|
return layerWidth;
|
|
27429
27429
|
}, [options, isFontLoaded]);
|
|
27430
27430
|
const {
|