tailwindlabs / tailwindcss-custom-forms

A better base for styling form elements with Tailwind CSS.
https://tailwindcss-custom-forms.netlify.app/
MIT License
1.55k stars 72 forks source link

Custom-forms with applyComplexClasses on shows focus state as default state #73

Open lowv-developer opened 4 years ago

lowv-developer commented 4 years ago

custom-forms with applyComplexClasses on, shows focus state as default state Are you seeing the same?

When I deactivate applyComplexClasses everything comes back to normal

lowv-developer commented 4 years ago

update: I fixed this by splitting my css, so it seems to me that this is an applyComplexClasses issue when you use comma separated classes

input[type=text], input[type=email], input[type=text] { @apply form-input; }

to

input[type=text] { @apply form-input; } input[type=email] { @apply form-input; } input[type=tel] { @apply form-input; }