A
A
adam_carraway2019-07-11 01:40:29
css
adam_carraway, 2019-07-11 01:40:29

Why does the list open with two clicks?

Why does the list open with two clicks? Everything was fine, but at some point the list began to open with two clicks.

<div class="dropdown">
  <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    Кнопка выпадающего списка
  </button>
  <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
    <a class="dropdown-item" href="#">Action</a>
    <a class="dropdown-item" href="#">Another action</a>
    <a class="dropdown-item" href="#">Something else here</a>
  </div>
</div>

Can anyone come across this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Serezha, 2019-07-11
Ahen @Ahen

There is not enough input, maybe it is there in which container it is stuffed or something like that.
On a bare example, everything works as it should, of course:
https://jsfiddle.net/bsncz4dt/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question