Skip to content

Commit

Permalink
fix: after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofzuraw committed Jan 9, 2024
1 parent 66ebd44 commit e10c612
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 3 deletions.
93 changes: 90 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/components/Combobox/Dynamic/DynamicCombobox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ const DynamicComboboxInner = <T extends Option>(
))}
</Box>
)}

{isOpen && !loading && !hasItemsToSelect && children}

{loading && (
<LoadingListItem size={size}>
{locale?.loadingText ?? "Loading"}
Expand Down
2 changes: 2 additions & 0 deletions src/components/Combobox/Static/Combobox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ const ComboboxInner = <T extends Option, V extends Option | string>(
))}
</Box>
)}

{isOpen && !hasItemsToSelect && children}
</List>
</Box>
</FloatingPortal>
Expand Down

0 comments on commit e10c612

Please sign in to comment.