jquery-smarttab icon indicating copy to clipboard operation
jquery-smarttab copied to clipboard

Height behavior of tab-content div

Open evbrew opened this issue 3 years ago • 0 comments

Height of tab div (class "tab-content") does not auto adjust if content dynamically changes. There should be an API method at least to trigger a height refresh on current tab. e.g. $('#smarttab').smartTab("refreshHeight");

Also I would also expect the option "autoAdjustHeight: false" to not set an explicit CSS height on the tab and let it adjust for content, but it appears to set the height based on the first tab's content instead.

I worked around the issue with the following CSS override: .st>.tab-content { height: fit-content!important; }

Windows10 Chrome 94.0.4606.81

evbrew avatar Dec 03 '21 20:12 evbrew