I had the same problem and it was happening because I was using ‘%’ or ‘auto’ width.
The only way I found to keep my app with ‘%’ values and prevent the problem was doing some workaround like setting the initial width and height values with 100%, capturing these values in pixels with:
width = $('#jqxTabs').width();
height = $('#jqxTabs').height();
and re-set them:
$('#jqxTabs').jqxTabs({
width: width,
height: height
});
After that, it worked as it should.
Just call this method after everything is set:
function setAttributes(){
var width = $('#jqxTabs').width();
var height = $('#jqxTabs').height();
$('#jqxTabs').jqxTabs({
width: width,
height: height
});
}
The example works because the values were set in a static way, with the pixel numbers. In my case, when I was adding a new tab, something was setting the tab panel width to ‘auto’, breaking the layout.