Skip to content

Commit 7d77024

Browse files
Fix dataframe height increasing on scroll (#9892)
* changes * add changeset --------- Co-authored-by: gradio-pr-bot <[email protected]>
1 parent 4d90883 commit 7d77024

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/social-terms-type.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@gradio/dataframe": patch
3+
"gradio": patch
4+
---
5+
6+
fix:Fix dataframe height increasing on scroll

js/dataframe/shared/VirtualTable.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@
248248
return { index: i + start, data };
249249
});
250250
251-
$: actual_height = visible.length * average_height + 10;
252251
onMount(() => {
253252
rows = contents.children as HTMLCollectionOf<HTMLTableRowElement>;
254253
mounted = true;

0 commit comments

Comments
 (0)