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.js CHANGED
@@ -3521,7 +3521,7 @@ const SelectComponent = /*#__PURE__*/React.forwardRef(({
3521
3521
  });
3522
3522
  return dropdownRender ? dropdownRender(options) : options;
3523
3523
  })();
3524
- const dropdownContent = !loading && isOpen && /*#__PURE__*/React.createElement("div", {
3524
+ const dropdownContent = !loading && open && isOpen && /*#__PURE__*/React.createElement("div", {
3525
3525
  className: clsx([`${prefixCls}-dropdown`, {
3526
3526
  [placement]: placement,
3527
3527
  [dropdownClassName]: dropdownClassName
@@ -3537,7 +3537,7 @@ const SelectComponent = /*#__PURE__*/React.forwardRef(({
3537
3537
  value: searchQuery,
3538
3538
  onChange: handleSearch,
3539
3539
  placeholder: "Search..."
3540
- }), !loading && open && /*#__PURE__*/React.createElement("div", {
3540
+ }), !loading && /*#__PURE__*/React.createElement("div", {
3541
3541
  className: `${prefixCls}-options`,
3542
3542
  style: {
3543
3543
  maxHeight: listHeight,