tabby.toggleTab() prevents from clicking previous active tab
See original GitHub issueTitle says it all 😃
Steps to reproduce using the Unstructured list tabs:
- Go to http://cferdinandi.github.io/tabby
- In the Unstructured list click on Seasons
- Tab now changes to seasons
- Open the Console
- Execute the code
tabby.toggleTab('#tab2')
- The page now shows
Ice Cream
Chocolate, vanilla or strawberry?
- Click on the Seasons tab
- Nothing happens
- Click on Superheroes
- This works
- Click on Seasons tab
- Now this works as well
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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.
Fixed with v12: https://github.com/cferdinandi/tabby/releases/tag/v12.0.0