x-ui-design 0.2.77 → 0.2.78
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.esm.js +1 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -5
- package/dist/index.js.map +1 -1
- package/lib/components/Select/Select.tsx +2 -7
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3143,12 +3143,8 @@ const SelectComponent = /*#__PURE__*/forwardRef(({
|
|
|
3143
3143
|
if (!disabled) {
|
|
3144
3144
|
setIsOpen(!isOpen);
|
|
3145
3145
|
}
|
|
3146
|
-
const searchContent =
|
|
3146
|
+
const searchContent = selectRef.current?.getElementsByClassName(`${prefixCls}-tag-container`)?.[0];
|
|
3147
3147
|
if (searchContent) {
|
|
3148
|
-
console.info({
|
|
3149
|
-
clientWidth: searchContent.clientWidth,
|
|
3150
|
-
searchContent
|
|
3151
|
-
});
|
|
3152
3148
|
setSearchInputWidth(searchContent.clientWidth - PADDING_TAG_INPUT);
|
|
3153
3149
|
}
|
|
3154
3150
|
const timeout = setTimeout(() => {
|