-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
Coherent default for focus box in select #41284
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
base: main
Are you sure you want to change the base?
Conversation
`$form-select-focus-box-shadow` doesn't fallback on common settings about focus boxes, and has a different behavior when applying settings descripted [in the documentation](https://getbootstrap.com/docs/5.3/helpers/focus-ring/#sass-variables) (just setting `$focus-ring-box-shadow` does not impact on select boxes).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems safe since the line has been unchanged since #28450.
Oh hmm, this does cause errors with |
Oops... My fault, I just looked to the output of Removing both the unused variables ( More in general, I feel that all the My proposal: fix the behavior of |
Yeah there are too many reused variables, so that's a thing I'm working on in v6. Need to reduce these things down a bit. As for this branch, we could mark those other variables as deprecated here and merge this, but I'd need @julien-deramond's thoughts on that. |
Hey! Since this would introduce breaking changes, we’ll need to hold off on merging the PR until v5.4.0 to avoid issues in a patch release. |
Description
Change default setting for
$form-select-focus-box-shadow
.Motivation & Context
$form-select-focus-box-shadow
doesn't fallback on common settings about focus boxes, and has a different behavior when applying customizations described in the documentation (just setting$focus-ring-box-shadow
does not impact on select boxes).Type of changes
This is actually a breaking change, as it alters an established behavior (even if wrong).
Checklist
npm run lint
)Live previews