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

First Tab don't hide others tabs #58

Open equiman opened 8 years ago

equiman commented 8 years ago

You can reproduce it with your sample page "Tabs with an assigned id.": https://openam.github.io/bootstrap-responsive-tabs/

Steps:

  1. Click Tab 3. Then Tab 1 Hide and Tab 3 is Show.
  2. Click Tab 1. Then Tab 1 is Show, but Tab 3 is steel on Show mode.

If you can do the same for example tab 2. Reload the site to restart the behavior: Steps:

  1. Click Tab 3. Then Tab 2 Hide and Tab 3 is Show.
  2. Click Tab 2. Then Tab 2 is Show and Tab 3 is Hide.

That happens too with "Tabs without an assigned id." but with Tab two because is the active tab.

equiman commented 8 years ago

I think i found the problem: is about <li class="active">

I have removed <li class="active"> from my code, and doesn't happend the problem. But if i make this then all tabs are hide by default.

equiman commented 8 years ago

Sorry I didn't see that there is an open issue about it: Issue #45