JaleelB / emblor

A fully-featured tag input component built with shadcn/ui
https://emblor.jaleelbennett.com
MIT License
676 stars 31 forks source link

Clicking a tag's background in a dropdown misses #14

Closed corysimmons closed 7 months ago

corysimmons commented 7 months ago

It works if you hit the text, but it's a bad UX if you hit the background behind it and it does nothing.

I just noticed this in the autocomplete example.

image

JaleelB commented 7 months ago

Thanks for pointing that out. I've just pushed an update to address this. Now, clicking anywhere on an option—not just on the text—will correctly trigger the action as intended.