Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.2
-
Fix Version/s: EE-4.2.0.GA
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Any
Description
After fixes related to ICE-11280, vertical scrollbars appear in accordion panes when they don't seem necessary. This occurs when autoHeight="true", because, in this case, all panes are set an explicit height in pixels, which is the height of the tallest pane. The fix for ICE-11280 adds style="height:100%;" to the inner content div. Thus, no matter what height is set, the scrollbars will always appear because the inner content node will take the same height plus the padding and border.
r51448: set the overflow CSS property to hidden on the main content pane, since the inner content pane will now contain the overflow:auto; styling (and thus, the scrollbars will appear as part of the inner content pane, if necessary)
Taking into account the padding and border when calculating this height, wouldn't solve the problem, since the inner content node will always be the exact same height as the outer div, simply because of the "height:100%;" setting, plus the padding, which will still be applied on top of that, so the contents would always be taller than the outer div, regardless of how the height is calculated.