Skip to content

Commit b7c6e8e

Browse files
committed
tabbed container issue resolved
1 parent bccd088 commit b7c6e8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

client/packages/lowcoder/src/comps/comps/tabs/tabbedContainerComp.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ const TabbedContainer = (props: TabbedContainerProps) => {
242242
forceRender: true,
243243
children: (
244244
<BackgroundColorContext.Provider value={bodyStyle.background}>
245-
<ScrollBar style={{ height: props.autoHeight ? "100%" : "auto", margin: "0px", padding: "0px" }} hideScrollbar={!props.showVerticalScrollbar} overflow={props.autoHeight?'hidden':'scroll'}>
245+
<ScrollBar style={{ height: props.autoHeight ? "auto" : "100%", margin: "0px", padding: "0px" }} hideScrollbar={!props.showVerticalScrollbar} overflow={props.autoHeight ? 'hidden':'scroll'}>
246246
<ContainerInTab
247247
layout={containerProps.layout.getView()}
248248
items={gridItemCompToGridItems(containerProps.items.getView())}
@@ -259,8 +259,8 @@ const TabbedContainer = (props: TabbedContainerProps) => {
259259
})
260260

261261
return (
262-
<ScrollBar style={{ height: props.autoHeight ? "100%" : "auto", margin: "0px", padding: "0px" }} hideScrollbar={!props.scrollbars}>
263-
<div style={{padding: props.style.margin, height: props.autoHeight ? "100%" : "auto"}}>
262+
<ScrollBar style={{ height: props.autoHeight ? "auto" : "100%", margin: "0px", padding: "0px" }} hideScrollbar={!props.showVerticalScrollbar} >
263+
<div style={{padding: props.style.margin, height: props.autoHeight ? "auto" : "100%"}}>
264264
<BackgroundColorContext.Provider value={headerStyle.headerBackground}>
265265
<StyledTabs
266266
$animationStyle={props.animationStyle}

0 commit comments

Comments
 (0)