We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
see: http://jsfiddle.net/aze0jzj5/6/
steps to reproduce: click and hold button for 1sec and then release mouse button
result: focus outline flickers
This is because BS tries transition from box-shadow: inset to box-shadow: outer
According to https://github.com/twbs/bootstrap/blob/v4-dev/scss/mixins/_buttons.scss#L89 you can disable inset by setting $btn-active-box-shadow:none but that will not work because in other places passing 'none' to box-shadow causes incorrect css rule (for example box-shadow: none, 1px 1px 1px black)
inset
$btn-active-box-shadow:none
box-shadow: none, 1px 1px 1px black
Solution that can be worth consider: http://tobiasahlin.com/blog/how-to-animate-box-shadow/
The text was updated successfully, but these errors were encountered:
I believe this was fixed when we added a check for none to the buttons mixins.
none
Sorry, something went wrong.
are you talking about https://github.com/twbs/bootstrap/blob/v4-dev/scss/mixins/_buttons.scss#L91 ?
so there is another place where it should be placed https://github.com/twbs/bootstrap/blob/v4-dev/scss/mixins/_buttons.scss#L53
box-shadow()
No branches or pull requests
see: http://jsfiddle.net/aze0jzj5/6/
steps to reproduce:
click and hold button for 1sec and then release mouse button
result:
focus outline flickers
This is because BS tries transition from box-shadow: inset to box-shadow: outer
According to https://github.com/twbs/bootstrap/blob/v4-dev/scss/mixins/_buttons.scss#L89
you can disable
inset
by setting$btn-active-box-shadow:none
but that will not work because in other places passing 'none' to box-shadow causes incorrect css rule (for examplebox-shadow: none, 1px 1px 1px black
)Solution that can be worth consider:
http://tobiasahlin.com/blog/how-to-animate-box-shadow/
The text was updated successfully, but these errors were encountered: