HELP! Tabbar not scrollbar attachObject (CRITICAL)


#1

SITUATION:
I use this control tabbar to separate a form with lots of input/controls.

SIMPLIFIED CODE;

 var winx = dhx.createWindow('test', 0, 0, 300, 300);
 var tab = winx.attachTabbar({
   tabs: [
    {id: 'a', text: 'Personal Info', active: true},
    {id: 'b', text: 'Education Info', active: true},
    {id: 'c', text: 'Work Info', active: true},
   ]
 });
var frm = tab.tabs('a').attachForm(COMPLEX_FORM_JSON_HERE);
tab.tabs('b').attachObject("benefits-tab");
tab.tabs('c').attachObject("work-tab");

The code works fine, Objects where properly attached the ONLY PROBLEM is that the tabs b and c do not have auto scroll bar. It means when attached object has too many form control I cannot see the other. No scroll. See example photo below.

JSON STRUCT

[
    {
      type: 'block', id: 'hr-emp-frm-template-editor-personal',
      list: [
        {
          type: 'block', offsetTop: 300, list: [
            {type: 'settings', position: 'label-top', inputWidth: 160, offsetLeft: 10},
            {type:'input',name:'pfname',label:'Given Name'},
            {type:'newcolumn'},
            {type:'input',name:'pmi',label:'Middle Name'},
            {type:'newcolumn'},
            {type:'input',name:'plname',label:'Family/Surname'}
          ]
        }
      ]
    },

    {
      type: 'block', id: 'hr-emp-frm-template-editor-benefits',
      list: [
        {
          type: 'block',  offsetTop: 300, list: [
            {type: 'settings', position: 'label-top', inputWidth: 160, offsetLeft: 10},
            {type:'input',name:'pssn',label:'SSN'},
            {type:'newcolumn'},
            {type:'input',name:'pmedi',label:'Medicare'},
            {type:'newcolumn'},
            {type:'input',name:'insurance',label:'Insurance'}
          ]
        }
      ]
    }
  ]

PS: I added offsetTop to simulate long form controls. They are basically they same trust me.

QUESTION:

How can I make the autoscroll works on the 2nd and 3rd tabs?
HELP!


#2

After few hours of figuring things I found a solution for this problem.

It is really sad that dev don’t like fluid web design.
To fix the above problem you can use the css rule below.

.dhxtabbar_base_dhx_skyblue div.dhx_cell_tabbar div.dhx_cell_cont_tabbar
{
  position: relative; display: block;
  box-sizing: border-box;
  overflow: auto;
}

Please note the this will on work on skyblue theme. If you are using other theme then you need to change the base skin dhxtabbar_base_dhx_skyblue with the correct one.
If you are using material then use dhxtabbar_base_dhx_material.

Sigh