-
-
Notifications
You must be signed in to change notification settings - Fork 78.5k
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
Outline checkbox button has incorrect focus state #36502
Comments
The issue is with :focus in .btn-check right? |
I would like to fix it |
Duplicate of #31149. |
@mdo but this issue is related to :focus and not :hover |
Ah yup, sorry! Will review again, I think I found when and why this bug/change was introduced thanks to your PR. |
This was changed in #34600 with the rewrite of our buttons to use CSS variables. We moved a ton of source SCSS from the mixin into the main |
yeah I see in mixin button-outline-variant only the following css was applied on focus
How should I fix this? Can you lead me a way? |
Do I move back specific CSS for |
hey |
You should read the readme and the contributing guidelines. |
Prerequisites
Describe the issue
When we use Checkbox with outlined style
https://getbootstrap.com/docs/5.2/forms/checks-radios/#outlined-styles
When checkbox is selected and we click on that checkbox to unselect it, selecting color still appear and to see changes - no color inside button - we need to click somewhere else.
If wee still clicking on same checkbox, we have selected color inside checkbox. No changes appears.
It's annoying.
Reduced test cases
Single toggleWhat operating system(s) are you seeing the problem on?
Linux
What browser(s) are you seeing the problem on?
Chrome, Firefox, Opera
What version of Bootstrap are you using?
5.2
The text was updated successfully, but these errors were encountered: