Skip to Content

Tab Container not visible without giving height

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 04, 2017 at 06:41 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 05, 2017 at 06:41 AM

    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

    Add comment
    10|10000 characters needed characters exceeded