Skip to content

Commit

Permalink
Fix dataframe height increasing on scroll (#9892)
Browse files Browse the repository at this point in the history
* changes

* add changeset

---------

Co-authored-by: gradio-pr-bot <[email protected]>
  • Loading branch information
abidlabs and gradio-pr-bot authored Nov 4, 2024
1 parent 4d90883 commit 7d77024
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/social-terms-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@gradio/dataframe": patch
"gradio": patch
---

fix:Fix dataframe height increasing on scroll
1 change: 0 additions & 1 deletion js/dataframe/shared/VirtualTable.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@
return { index: i + start, data };
});
$: actual_height = visible.length * average_height + 10;
onMount(() => {
rows = contents.children as HTMLCollectionOf<HTMLTableRowElement>;
mounted = true;
Expand Down

0 comments on commit 7d77024

Please sign in to comment.