Skip to content

Commit

Permalink
Merge pull request #297 from dmikoss/fix-issue-296
Browse files Browse the repository at this point in the history
improve table behaviour on scaling
  • Loading branch information
nick-keller authored Jan 18, 2024
2 parents 783dba4 + b26361b commit 90a5a5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DataSheetGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 90a5a5e

Please sign in to comment.