From 0c45fed420747b41a4d2a7bb07e9582f6f609287 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D5=A1=D3=84=D5=A1?= Date: Sun, 5 Jan 2025 18:48:30 +0800 Subject: [PATCH] fix(autocomplete): missing popover props except content (#4496) --- .changeset/seven-news-melt.md | 5 +++++ packages/components/autocomplete/src/use-autocomplete.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/seven-news-melt.md diff --git a/.changeset/seven-news-melt.md b/.changeset/seven-news-melt.md new file mode 100644 index 0000000000..2285d15c62 --- /dev/null +++ b/.changeset/seven-news-melt.md @@ -0,0 +1,5 @@ +--- +"@nextui-org/autocomplete": patch +--- + +fix missing popover props except content (#4484) diff --git a/packages/components/autocomplete/src/use-autocomplete.ts b/packages/components/autocomplete/src/use-autocomplete.ts index 4e258d8ba9..47ce1dfad4 100644 --- a/packages/components/autocomplete/src/use-autocomplete.ts +++ b/packages/components/autocomplete/src/use-autocomplete.ts @@ -482,6 +482,7 @@ export function useAutocomplete(originalProps: UseAutocomplete triggerType: "listbox", ...popoverProps, classNames: { + ...slotsProps.popoverProps?.classNames, content: slots.popoverContent({ class: clsx( classNames?.popoverContent,