With Bootstrap 3.3.7, I am trying to have a justified navigation dropdown button group, to mark correctly, after selection. I am having the problem of both menu options being marked, in the dropdown button, when one after another options being selected. Are there anyways to have the dropdown menu to mark only the option being selected, while being a justified group dropdown navigation button? Thank you!
<div class="row">
<div class="col-md-7">
<div class="btn-group btn-group-justified" role="group">
<a href="#left" class="btn btn-primary" role="button" data-toggle="tab">Left</a>
<a href="#middle" class="btn btn-primary" role="button" data-toggle="tab">Middle</a>
<div class="btn-group" role="group">
<a href="#" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" role="button"> Dropdown <span class="caret"></span> </a>
<ul class="dropdown-menu">
<li><a href="#drop1" role="tab" data-toggle="tab">drop 1</a></li>
<li><a href="#drop2" role="tab" data-toggle="tab">drop 2</a></li>
</ul>
</div>
</div>
<div class="tab-content">
<div class="tab-pane active" role="tabpanel" id="left">please select 1 of the options in the dropdown</div>
<div class="tab-pane" role="tabpanel" id="middle">please try the dropdown on the right</div>
<div class="tab-pane" role="tabpanel" id="drop1">please try select drop 2 also, then both are marked under the dropdown</div>
<div class="tab-pane" role="tabpanel" id="drop2">please try select drop 1 also, then both are marked under the dropdown</div>
</div>
</div>