mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-13 04:14:42 +00:00
fix: scroll on multiselect
This commit is contained in:
1 parent
80d2082529
commit
5d7166df8c
1 file changed
+2
-2
@@ -197,8 +197,8 @@ export function MultiSelectPopover({
|
||||
<Spinner size="small" />
|
||||
</div>
|
||||
) : (
|
||||
<div className="dark:border-border mx-4 my-4 min-h-0 grow overflow-hidden rounded-md border border-[#D9D9D9]">
|
||||
<CommandList className="max-h-full overflow-y-auto">
|
||||
<div className="dark:border-border mx-4 my-4 min-h-0 overflow-hidden rounded-md border border-[#D9D9D9]">
|
||||
<CommandList className="max-h-[min(400px,55vh)] overflow-y-auto">
|
||||
<CommandEmpty>{renderEmptyState()}</CommandEmpty>
|
||||
{hasGroups ? (
|
||||
grouped.groupOrder.map((groupKey) => {
|
||||
|
||||
Reference in new issue
Block a user