Skip to content

Commit

Permalink
fix: table block height setting not applied when there is no data (no…
Browse files Browse the repository at this point in the history
  • Loading branch information
katherinehhh authored Feb 11, 2025
1 parent 59c467b commit 09381be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@ export const Table: any = withDynamicSchemaProps(
const scroll = useMemo(() => {
return {
x: 'max-content',
y: dataSource.length > 0 ? tableHeight : undefined,
y: tableHeight,
};
}, [tableHeight, dataSource]);

Expand Down

0 comments on commit 09381be

Please sign in to comment.