Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/multi-select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ export const MultiSelect = React.forwardRef<
className="w-auto p-0"
Copy link

@s3f5 s3f5 Feb 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
className="w-auto p-0"
className="w-[var(--radix-popper-anchor-width)] p-0"

You can also do it in tw 🙂 Also you could use w-[--radix-popover-trigger-width]

Anyway this is kinda duplicate of #53

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I didn't know how to do that with Tw but great to know.
Sorry for duplicate, this can be closed so

align="start"
onEscapeKeyDown={() => setIsPopoverOpen(false)}
style={{ width: "var(--radix-popper-anchor-width)" }}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
style={{ width: "var(--radix-popper-anchor-width)" }}

>
<Command>
<CommandInput
Expand Down