Revious
Revious

Reputation: 8156

Collapsing error on IE Mobile with bootstrap

As you know we can use this kind of syntax, introduced by bootstrap, to collapse a div when clicking on a button.

<button type="button" data-toggle="collapse" data-target="#myid">
  <ul id="myid" class='collapse'>

But, actually it doesn't work (it stays open) with the Bootstrap version 3.2.0 and Windows Mobile (IE11 Emulate it correctly)

How can I fix it?

Upvotes: 0

Views: 105

Answers (1)

Revious
Revious

Reputation: 8156

It's enough to add this 2 lines of code:

.collapse.in {
    display: block;
}

.collapse {
    display: none;
}

Upvotes: 0

Related Questions