Skip to content
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

Button checkboxes do not uncheck #34664

Closed
jscarle opened this issue Aug 3, 2021 · 1 comment · Fixed by #37026
Closed

Button checkboxes do not uncheck #34664

jscarle opened this issue Aug 3, 2021 · 1 comment · Fixed by #37026
Labels

Comments

@jscarle
Copy link

jscarle commented Aug 3, 2021

The problem is when unchecking. When the button transitions from a checked to unchecked state, the button remains filled until a) the mouse is moved on device with a cursor, or b) another location on the page is touched on a touch device. The user obviously believes that they have not unchecked the button when it has in fact been unchecked and then proceeds to continue to attempt to uncheck the button.

Apparently the bug is:

The "bug" is in mixins/_buttons.scss in the @mixin button-outline-variant ... it defines both .btn-check:checked + & and .btn-check:active + & with the same styling as per Vino from Stack Overflow.

https://stackoverflow.com/questions/68640977/remove-focus-on-boostrap-5-toggle-button-after-click

@alipman88
Copy link

This would be fixed by #28999

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants