-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
field outlines are hidden - even when focus is applied. #489
Comments
The intent, correct me if I'm wrong, is to show a blue outline when the field is focused and a red one when there is an error. Before the v4 upgrade, Both
however, in v4, it's compiled as:
meaning that the solid outline is set when the forced-colors media feature is set. If you want to try out, you can turn So indeed, it would be nice to have a |
Reproduction instructions (adapted from Getting Started with Rails): rails new store --css tailwind
cd store
bin/rails generate scaffold Product name:string
bin/rails db:migrate
sed -i.bak '/end/i\
validates :name, presence: true
' app/models/product.rb
bin/dev Navigate to http://localhost:3000/products/new ; click on the input field; then click on Create Products and finally on the input field again. |
A typical form field looks like the following:
Key items:
outline-hidden
focus:outline-blue-600
focus:outline-red-600
Missing is a focus outline-style something like solid, dashed, dotted, or double. Not knowing the intent here, I'm hesitant to provide a PR.
The text was updated successfully, but these errors were encountered: