bootstrap-select icon indicating copy to clipboard operation
bootstrap-select copied to clipboard

When clicked, the select menu does not come out, until up or down arrow is pressed.

Open nikolaynikolaev013 opened this issue 4 years ago • 2 comments

Hello there!

I'm using a normal select menu in an asp.net project. For example that one:

<div class="form-group">
                            <label asp-for="CliendId"></label>
                            <select asp-for="CliendId" asp-items="availableClients" data-live-search="true" class="selectpicker form-control">
                            </select>
                            <span asp-validation-for="CliendId" class="text-danger"></span>
                        </div>
                        
Screenshot 2021-10-02 at 22 05 20

And when I click it, it gets that blue frame, like it is marked:

Screenshot 2021-10-02 at 22 03 12 And when I press the up or down arrow, it starts working properly: Screenshot 2021-10-02 at 22 03 30

The bootstrap theme I'm using is that one: https://bootswatch.com/solar/ - v5.1.1 Do you have any ideas where the problem can be?

Thank you very much in advance! :)

nikolaynikolaev013 avatar Oct 02 '21 19:10 nikolaynikolaev013

add this in you css

.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select > select.mobile-device:focus+.dropdown-toggle {
    outline: 0px auto -webkit-focus-ring-color !important;
}

tophackr avatar Oct 13 '21 13:10 tophackr

Hello, @tophackr! Thank you for your answer. Unfortunately, that did not help. The problem still persists. Any other ideas?

nikolaynikolaev013 avatar Dec 20 '21 10:12 nikolaynikolaev013