jQuery-EasyTabs icon indicating copy to clipboard operation
jQuery-EasyTabs copied to clipboard

With Subtabs mutiple panels can be displayed.

Open CableGuy67 opened this issue 12 years ago • 5 comments

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

CableGuy67 avatar Mar 01 '13 21:03 CableGuy67

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.

CableGuy67 avatar Mar 09 '13 19:03 CableGuy67

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.

CableGuy67 avatar Mar 15 '13 20:03 CableGuy67

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.

CableGuy67 avatar Mar 17 '13 19:03 CableGuy67

Interesting, thanks for looking into this. Could you possibly create a pull-request with your three commits and we can discuss it?

JangoSteve avatar May 09 '13 06:05 JangoSteve

Sure. I'll look back at this and put something together for the issue.

CableGuy67 avatar May 09 '13 06:05 CableGuy67