openam / bootstrap-responsive-tabs

Bootstrap responsive tabs are tabs that switch to collapsible components (accordions) when resized.
openam.github.io/bootstrap-responsive-tabs
MIT License
132 stars 60 forks source link

Error on first click, when having multiple tab sections #18

Closed Uffman closed 8 years ago

Uffman commented 9 years ago

if you have more tab sections like this:

<ul class="nav nav-tabs responsive" id="myTab">
    <li class="active"><a href="#home">Home</a></li>
    <li><a href="#profile">Profile</a></li>
    <li><a href="#messages">Messages</a></li>
</ul>

<div class="tab-content responsive">
    <div class="tab-pane active" id="home">...</div>
    <div class="tab-pane" id="profile">...</div>
    <div class="tab-pane" id="messages">...</div>
</div>

<ul class="nav nav-tabs responsive" id="myTab1">
    <li class="active"><a href="#home1">Home1</a></li>
    <li><a href="#profile1">Profile1</a></li>
    <li><a href="#messages1">Messages1</a></li>
</ul>

<div class="tab-content responsive">
    <div class="tab-pane active" id="home1">...</div>
    <div class="tab-pane" id="profile1">...</div>
    <div class="tab-pane" id="messages1">...</div>
</div>

clicking any tab in first tab section triggers activating first tab. Example: if I click tab "Profile", that tab shows and after that "Home" tab shows again

logicaldude commented 9 years ago

Yes.. I have same issue.. it must be a bug .. looks like the write is very busy :( sorry i thought i got the solution.. but didnt :(

nunodotferreira commented 9 years ago

ok, i'm having the same problem! maybe i'll try to fix it.

cathallen14 commented 9 years ago

Did anyone find a solution to this?

alieslamifard commented 9 years ago

i have multiple tab in page. when i click on one tab all the content hide ! i check the id's and aria-controls but i'm confused. any idea?

openam commented 8 years ago

This should be fixed.