Nested tabs in a component dialog



Hi All,

I am trying to make Nested tabs functionality in a component dialog work on AEM 6.4. I have created a sample component here.

The component is working fine functionality wise but the problem is when I select the second parent tab then the first child tab of the same does not get selected automatically. And when I switch to the first tab again, the first child tab (of the first parent tab) also does not get selected automatically. We have to do this manually every time.

Is there a way by which on selecting each parent tab, its respective child tab is selected automatically? Thanks in advance!