x-ui-design 0.5.43 → 0.5.44

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
@@ -3498,8 +3498,8 @@ const SelectComponent = ({
3498
3498
  if (!isOpen) {
3499
3499
  return;
3500
3500
  }
3501
- searchInputRef.current?.focus();
3502
3501
  const timeout = setTimeout(() => {
3502
+ console.log(searchInputRef.current);
3503
3503
  e.target.value = (searchInputRef.current?.innerText || e.target.innerText).replace('\n', '');
3504
3504
  setSearchQuery(e.target.value);
3505
3505
  onSearch?.(e.target.value);
@@ -3582,11 +3582,13 @@ const SelectComponent = ({
3582
3582
  onDropdownVisibleChange?.(!isOpen, selected);
3583
3583
  }
3584
3584
  const searchContent = selectRef.current?.getElementsByClassName(`${prefixCls}-tag-container`)?.[0];
3585
+ console.log(searchContent);
3585
3586
  if (searchContent) {
3586
3587
  setSearchInputWidth(searchContent.clientWidth - PADDING_TAG_INPUT);
3587
3588
  }
3588
3589
  const timeout = setTimeout(() => {
3589
3590
  const searchInput = document.getElementById(`${prefixCls}-search-tag-input`);
3591
+ console.log(searchInput);
3590
3592
  if (searchInput) {
3591
3593
  searchInput?.focus();
3592
3594
  setSearchFocused(true);