bulma-switch icon indicating copy to clipboard operation
bulma-switch copied to clipboard

fuzzy border when clicked

Open patrick-motard opened this issue 4 years ago • 2 comments

Unclicked: Screen Shot 2021-12-13 at 11 36 57 PM

Clicked: Screen Shot 2021-12-13 at 11 37 16 PM

Clicked again: Screen Shot 2021-12-13 at 11 37 30 PM

Notice the fuzzy/dotted border around the box. If I click away, the border is removed.

A few things I've tried:

input:focus{
  outline:none;
}

and:

input[type="radio"]:focus {
    outline: none;
}

With no luck. I'd like there to be no fuzzy/dotted border at all when the button is selected.

patrick-motard avatar Dec 14 '21 05:12 patrick-motard

Possibly related: https://github.com/Wikiki/bulma-switch/issues/20 Going to try this and will report back here.

patrick-motard avatar Dec 14 '21 05:12 patrick-motard

So far I've tried: The fix mentioned in #20:

$checkradio-focus: none;
@import '~bulma-switch';

and a variable mentioned in the docs:

$switch-focus: none;
@import '~bulma-switch';

Neither worked. Although I will note that with either option if you click fast several times, while clicking quickly there is no border. 💯

So neither option works for me. 😞

patrick-motard avatar Dec 14 '21 05:12 patrick-motard