javascript - Bootstrap collapsible behaves weird -
my problem sampled in fiddle .
i have basic collapsible element toggle button inside:
<div class="visible-xs collapsible collapse in panel panel-primary"> <div> lorem ipsum dolor sit amet, consectetur adipisicing elit. hic veritatis fugit veniam sapiente rem excepturi velit animi inventore mollitia reprehenderit nostrum natus autem quae minima dolor dolores voluptatum eum quia. </div> <br /> <div class="btn btn-primary" data-toggle="collapse" data-target=".collapsible">collapse</div> </div>
when element collapses, children elements jumps out of collapsible.
what's wrong here?
because of visible-xs
class.
<div class="collapsible collapse in panel panel-primary">
Comments
Post a Comment