x-ui-design 0.3.21 → 0.3.22
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 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/lib/components/Select/Select.tsx +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3209,7 +3209,7 @@ const SelectComponent = /*#__PURE__*/forwardRef(({
|
|
|
3209
3209
|
}
|
|
3210
3210
|
const searchContent = selectRef.current?.getElementsByClassName(`${prefixCls}-tag-container`)?.[0];
|
|
3211
3211
|
if (searchContent) {
|
|
3212
|
-
setSearchInputWidth(searchContent.clientWidth - PADDING_TAG_INPUT);
|
|
3212
|
+
setSearchInputWidth(searchContent.clientWidth - (hasMode ? PADDING_TAG_INPUT : 0));
|
|
3213
3213
|
}
|
|
3214
3214
|
const timeout = setTimeout(() => {
|
|
3215
3215
|
const searchInput = document.getElementById(`${prefixCls}-search-tag-input`);
|