shadcn-multi-select-component
shadcn-multi-select-component copied to clipboard
Bug fixed: Close button on each badge was not removing the item.
Issue
The issue arises from using the latest badge component from shadcn; which has a default behavior to set the pointer-events to none for SVG's.
Implementation
Same was fixed by applying to the badge in the multi-select component.
Other Ways to solve the problem (not-recommended)
While there are other ways to solve the same problem, for example, changing the in the badge component itself, but that would most probably break the components that you use from the shadcn itself. So it's wise to change that here.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| shadcn-multi-select-component | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 9, 2025 10:13am |