question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

tabby.toggleTab() prevents from clicking previous active tab

See original GitHub issue

Title says it all 😃

Steps to reproduce using the Unstructured list tabs:

  1. Go to http://cferdinandi.github.io/tabby
  2. In the Unstructured list click on Seasons
  3. Tab now changes to seasons
  4. Open the Console
  5. Execute the code tabby.toggleTab('#tab2')
  6. The page now shows

Ice Cream

Chocolate, vanilla or strawberry?
  1. Click on the Seasons tab
  2. Nothing happens
  3. Click on Superheroes
  4. This works
  5. Click on Seasons tab
  6. Now this works as well

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
roland-dcommented, Sep 19, 2017

@cferdinandi Just wanting to give this a friendly nudge 😃 Since you said it is a fairly simple fix, is there anything I could put in as a quick fix? Thanks.

0reactions
cferdinandicommented, Mar 5, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

Bootstrap 3 How to Prevent Active Tab from Closing on Click
I have tried doing something like this thinking I could catch the clicks and over-ride the behavior but this didn't work. $('.nav-tabs.active').
Read more >
Navs - Bootstrap
nav-tabs class to generate a tabbed interface. Use them to create tabbable regions with our tab JavaScript plugin. Active; Link; Link; Disabled.
Read more >
Building accessible user interface tabs in JavaScript
Here's everything you need to know to create an accessible tabbed user interface: HTML structure, CSS styling, and JavaScript enhancements.
Read more >
Bootstrap JS Tab Reference - W3Schools
JS Tab (tab.js). Tabs are used to separate content into different panes where each pane is viewable one at a time. For a...
Read more >
Tabs | Components - BootstrapVue
The tabs component is built upon navs and cards internally, and provides full ... <div> <b-tabs content-class="mt-3"> <b-tab title="First" active><p>I'm the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found