@@ -53,6 +53,7 @@ const childrenMap = {
53
53
1 : { layout : { } , items : { } } ,
54
54
} ) ,
55
55
autoHeight : AutoHeightControl ,
56
+ showVerticalScrollbar : withDefault ( BoolControl , false ) ,
56
57
scrollbars : withDefault ( BoolControl , false ) ,
57
58
placement : withDefault ( PositionControl , "top" ) ,
58
59
onEvent : eventHandlerControl ( EVENT_OPTIONS ) ,
@@ -239,7 +240,7 @@ const TabbedContainer = (props: TabbedContainerProps) => {
239
240
forceRender : true ,
240
241
children : (
241
242
< BackgroundColorContext . Provider value = { bodyStyle . background } >
242
- < ScrollBar style = { { height : props . autoHeight ? "100%" : "auto" , margin : "0px" , padding : "0px" } } hideScrollbar = { ! props . scrollbars } >
243
+ < ScrollBar style = { { height : props . autoHeight ? "100%" : "auto" , margin : "0px" , padding : "0px" } } hideScrollbar = { ! props . showVerticalScrollbar } overflow = { props . autoHeight ? 'hidden' : 'scroll' } >
243
244
< ContainerInTab
244
245
layout = { containerProps . layout . getView ( ) }
245
246
items = { gridItemCompToGridItems ( containerProps . items . getView ( ) ) }
@@ -325,8 +326,8 @@ export const TabbedContainerBaseComp = (function () {
325
326
{ children . tabsGutter . propertyView ( { label : trans ( "tabbedContainer.gutter" ) , tooltip : trans ( "tabbedContainer.gutterTooltip" ) } ) }
326
327
{ children . autoHeight . getPropertyView ( ) }
327
328
{ ! children . autoHeight . getView ( ) && (
328
- children . scrollbars . propertyView ( {
329
- label : trans ( "prop.scrollbar " ) ,
329
+ children . showVerticalScrollbar . propertyView ( {
330
+ label : trans ( "prop.showVerticalScrollbar " ) ,
330
331
} )
331
332
) }
332
333
</ Section >
0 commit comments