With Subtabs mutiple panels can be displayed.
I created a Gist for this issue. When using subtabs it is possible to have more than one active and displayed panels. When navigating using the tabs it is not noticed. When using a link that goes to an element contained by a subtab you can end up seeing multiple panels.
Comments and test case here, https://gist.github.com/CableGuy67/5066602
I'm not having any luck figuring out why the default panel in the subtab is keeping the display:block. Any pointers for a workaround would be great.
Updated Gist with a working solution to my problem. I'm sure it's not quite right and the collapsible panels might not be working the same way since I am using the defaults when creating my tabs and subtabs. Hopefully it is close enough for someone more familiar with the library to come up with a proper solution though.
forked and made a few changes to test out the subtabs extra panels showing and some history weirdness. Three commits made to my fork that seem to fix about 90% of my issues. The extra panel content no longer shows and the subtabs maintain their state but when browsing in history and getting to a parent tab the default won't show. It is close though.
Interesting, thanks for looking into this. Could you possibly create a pull-request with your three commits and we can discuss it?
Sure. I'll look back at this and put something together for the issue.