onesine / react-tailwindcss-select

Tailwind Select Component for React.js
https://demo-react-tailwindcss-select.vercel.app/
MIT License
183 stars 38 forks source link

Hovers not working with custom classNames #52

Open gtonussi opened 1 year ago

gtonussi commented 1 year ago

Hi, I noticed that when I add a hover: selector into the string of custom classes, it does nothing on final result.

Example using listItem key, when I have that !value.isSelected should render hover:bg-red-500 it will have no hover. If however I add the same color as default hover:bg-blue-100 it will.

The same happens for any other custom items.