Skip to content

Commit 3ae83d5

Browse files
author
Faran
committed
scrollbar settings
1 parent b6f71c2 commit 3ae83d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

client/packages/lowcoder/src/comps/comps/tableLiteComp/parts/TableContainer.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ const DefaultToolbar = styled.div`
5858
const TableSection = styled.div<{
5959
$mode: 'AUTO' | 'FIXED';
6060
}>`
61-
flex: 1 1 auto;
6261
min-height: 0;
6362
min-width: 0;
6463
`;
@@ -139,7 +138,7 @@ export const TableContainer: React.FC<TableContainerProps> = ({
139138
</>
140139
) : (
141140
/* Scrollbars enabled - use SimpleBar */
142-
<SimpleBarWrapper className="simplebar-wrapper" autoHide={false}>
141+
<SimpleBarWrapper className="simplebar-wrapper" autoHide={true}>
143142
{!stickyToolbar && toolbarPosition === 'above' && showToolbar && (
144143
<DefaultToolbar>{toolbar}</DefaultToolbar>
145144
)}

0 commit comments

Comments
 (0)