x-ui-design 0.5.48 → 0.5.50
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 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/lib/components/Select/Select.tsx +1 -3
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3330,7 +3330,6 @@ const SelectComponent = ({
|
|
|
3330
3330
|
return;
|
|
3331
3331
|
}
|
|
3332
3332
|
setSearchQuery('');
|
|
3333
|
-
onSearch?.('');
|
|
3334
3333
|
let inputContainer = selectRef.current?.querySelector(`[id='${prefixCls}-search-tag-input']`);
|
|
3335
3334
|
if (!inputContainer) {
|
|
3336
3335
|
inputContainer = selectRef.current?.querySelector("[content-editable='plaintext-only']");
|
|
@@ -3779,8 +3778,7 @@ const SelectComponent = ({
|
|
|
3779
3778
|
style: {
|
|
3780
3779
|
minWidth: showSearch && !searchQuery.length ? 1 : 'auto',
|
|
3781
3780
|
display: 'ruby',
|
|
3782
|
-
textAlign: 'center'
|
|
3783
|
-
userSelect: showSearch ? 'text' : 'auto'
|
|
3781
|
+
textAlign: 'center'
|
|
3784
3782
|
}
|
|
3785
3783
|
}, showSearch ? {
|
|
3786
3784
|
contentEditable: 'plaintext-only'
|