Fix: Fixed the issue that the content of the Dropdown section cannot be seen when selecting the next operator #3221 (#8918)

…be seen when selecting the next operator #3221

### What problem does this PR solve?
Fix: Fixed the issue that the content of the Dropdown section cannot be
seen when selecting the next operator #3221

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2025-07-18 17:54:32 +08:00
committed by GitHub
parent 92cfbcb382
commit e2f10fbd3e
24 changed files with 534 additions and 121 deletions

View File

@ -32,6 +32,7 @@ import { RAGFlowSelectOptionType } from '../ui/select';
export type SelectWithSearchFlagOptionType = {
label: ReactNode;
value?: string;
disabled?: boolean;
options?: RAGFlowSelectOptionType[];
};
@ -119,6 +120,7 @@ export const SelectWithSearch = forwardRef<
<CommandItem
key={option.value}
value={option.value}
disabled={option.disabled}
onSelect={handleSelect}
>
<span className="text-lg leading-none">
@ -138,6 +140,7 @@ export const SelectWithSearch = forwardRef<
<CommandItem
key={group.value}
value={group.value}
disabled={group.disabled}
onSelect={handleSelect}
>
<span className="text-lg leading-none">{group.label}</span>