x-ui-design 0.4.13 → 0.4.14
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 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/lib/components/Select/Select.tsx +2 -2
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3519,7 +3519,7 @@ const SelectComponent = /*#__PURE__*/forwardRef(({
|
|
|
3519
3519
|
});
|
|
3520
3520
|
return dropdownRender ? dropdownRender(options) : options;
|
|
3521
3521
|
})();
|
|
3522
|
-
const dropdownContent = !loading && isOpen && /*#__PURE__*/React.createElement("div", {
|
|
3522
|
+
const dropdownContent = !loading && open && isOpen && /*#__PURE__*/React.createElement("div", {
|
|
3523
3523
|
className: clsx([`${prefixCls}-dropdown`, {
|
|
3524
3524
|
[placement]: placement,
|
|
3525
3525
|
[dropdownClassName]: dropdownClassName
|
|
@@ -3535,7 +3535,7 @@ const SelectComponent = /*#__PURE__*/forwardRef(({
|
|
|
3535
3535
|
value: searchQuery,
|
|
3536
3536
|
onChange: handleSearch,
|
|
3537
3537
|
placeholder: "Search..."
|
|
3538
|
-
}), !loading &&
|
|
3538
|
+
}), !loading && /*#__PURE__*/React.createElement("div", {
|
|
3539
3539
|
className: `${prefixCls}-options`,
|
|
3540
3540
|
style: {
|
|
3541
3541
|
maxHeight: listHeight,
|