x-ui-design 0.5.40 → 0.5.42
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 +2 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/lib/components/Select/Select.tsx +3 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3492,6 +3492,7 @@ const SelectComponent = /*#__PURE__*/forwardRef(({
|
|
|
3492
3492
|
if (!isOpen) {
|
|
3493
3493
|
return;
|
|
3494
3494
|
}
|
|
3495
|
+
searchInputRef.current?.focus();
|
|
3495
3496
|
const timeout = setTimeout(() => {
|
|
3496
3497
|
e.target.value = (searchInputRef.current?.innerText || e.target.innerText).replace('\n', '');
|
|
3497
3498
|
setSearchQuery(e.target.value);
|
|
@@ -3631,6 +3632,7 @@ const SelectComponent = /*#__PURE__*/forwardRef(({
|
|
|
3631
3632
|
}
|
|
3632
3633
|
}, filterable && /*#__PURE__*/React.createElement("input", {
|
|
3633
3634
|
type: "text",
|
|
3635
|
+
inputMode: "text",
|
|
3634
3636
|
className: `${prefixCls}-search`,
|
|
3635
3637
|
value: searchQuery,
|
|
3636
3638
|
onChange: handleSearch,
|