Merge branch 'main' into next

This commit is contained in:
nocobase[bot] 2025-02-11 03:00:04 +00:00
commit 4dd4b56a4d

View File

@ -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]);