cancel
Showing results for 
Search instead for 
Did you mean: 

Tab Container not visible without giving height

0 Kudos

Hi Experts,

I am using a tab container inside a grid which is inside a custom list item. My problem is that I have to specifically give height to tab container and then only it is visible. But specifying height is not a good option for me as the content in tab container is built dynamically so explicitly specifying height causes a scroll bar to appear which I dont want.

For a workaround , I gave following CSS:

.sapMTabContainerInnerContent{ position:relative!important; }

But this works only on Chrome and not on IE.

Please help in this regard.

Thanks,

Mansi

Accepted Solutions (0)

Answers (2)

Answers (2)

Sharathmg
Active Contributor
0 Kudos

Workaround:

Maintain a variable for the height property of the tab.

Fix it some minimum height on init. Then change the variable based on the data available in the returned model.

Regards,

Sharath

former_member227918
Active Contributor
0 Kudos

Hi,

not sure but you can wrap tab container control inside a panel control with height='auto' might work.

or paste your code here or in fiddle to help better.