x-ui-design 0.4.55 → 0.4.56

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 CHANGED
@@ -3276,6 +3276,7 @@ const SelectComponent = /*#__PURE__*/forwardRef(({
3276
3276
  setIsOpen(false);
3277
3277
  handleClearInputValue();
3278
3278
  onClose?.();
3279
+ onDropdownVisibleChange?.(false);
3279
3280
  }
3280
3281
  };
3281
3282
  document.addEventListener('mousedown', handleClickOutside);
@@ -3319,7 +3320,6 @@ const SelectComponent = /*#__PURE__*/forwardRef(({
3319
3320
  }, [prefixCls, listHeight, getPopupContainer, isOpenChecker, isOpen]);
3320
3321
  useEffect(() => {
3321
3322
  setIsOpenChecker(isOpen);
3322
- onDropdownVisibleChange?.(isOpen);
3323
3323
  if (!isOpen) {
3324
3324
  setDropdownPosition({});
3325
3325
  setSearchFocused(false);