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

Bug fixed: Close button on each badge was not removing the item.

Open mohammadazeemwani opened this issue 9 months ago • 1 comments

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.

mohammadazeemwani avatar Jul 09 '25 10:07 mohammadazeemwani

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

vercel[bot] avatar Jul 09 '25 10:07 vercel[bot]