From b26361bf439028742b77c8ee04cad3d2211b6650 Mon Sep 17 00:00:00 2001 From: dmikos Date: Mon, 22 May 2023 09:21:00 +0500 Subject: [PATCH] [*] improve table behaviour on scaling --- src/components/DataSheetGrid.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DataSheetGrid.tsx b/src/components/DataSheetGrid.tsx index 2b7c863..f8a11ec 100644 --- a/src/components/DataSheetGrid.tsx +++ b/src/components/DataSheetGrid.tsx @@ -119,7 +119,7 @@ export const DataSheetGrid = React.memo( refreshRate: 100, }) - setHeightDiff(height ? displayHeight - Math.ceil(height) : 0) + setHeightDiff(height ? displayHeight - height : 0) const edges = useEdges(outerRef, width, height)