shadcn-multi-select-component icon indicating copy to clipboard operation
shadcn-multi-select-component copied to clipboard

A multi-select component designed with shadcn/ui

Results 33 shadcn-multi-select-component issues
Sort by recently updated
recently updated
newest added

I experienced performance issues when using MultiSelect with a large list. To improve performance, I integrated [TanStack Virtual](https://tanstack.com/virtual/latest) and created a MultiSelectVirtual component. I'm submitting a PR with this enhancement.

I have an issue where i have more than one unique key,it keeps returning an infinite loop

Is there anyway to clear the selected options once click on the Submit button?

```typescript interface TopicSelectProps { topics: TopicFieldsFragment[]; defaultSelectedTopics: TopicFieldsFragment[]; onTopicsChange: (topicIds: number[]) => void; } export function TopicSelect({ topics, defaultSelectedTopics, onTopicsChange }: TopicSelectProps) { const [selectedTopics, setSelectedTopics] = useState( defaultSelectedTopics.map((topic) =>...

This PR resolves an issue where scrolling or touch gestures within the PopoverContent were not functioning correctly for large lists. Stopping the wheel event propagation on the PopoverContent resolves the...

It looks like people are searching: -add w-[--radix-popover-trigger-width] to className of PopoverContent ![Image](https://github.com/user-attachments/assets/b980f605-6b81-4fc8-b4a6-a1170020588a) - result: ![Image](https://github.com/user-attachments/assets/3c9df53d-0417-488c-ae67-569f9a6d6e34)

When the mutli-select is used in dialog, it doesn't close the popover on outside click. For example, I selected team members and just clicked on "Submit" button which didn't triggered...

When searching for an option, the "(Select All)" option goes to the middle. This is OK even though I would expect it to be at the top. After removing the...