From 02515c3876fdca8f6615dc83d61938bf496145d7 Mon Sep 17 00:00:00 2001 From: Aditya Hegde Date: Thu, 9 May 2024 20:03:10 +0530 Subject: [PATCH] fix: Make the preview table column width reactive (#4864) * Make the preview table column width reactive * Add test --- .../virtualized-table/VirtualTable.svelte | 27 ++++----- .../virtualized-table/columnSizes.spec.ts | 50 +++++++++++++++++ .../virtualized-table/columnSizes.ts | 56 +++++++++++++++++++ 3 files changed, 116 insertions(+), 17 deletions(-) create mode 100644 web-common/src/components/virtualized-table/columnSizes.spec.ts create mode 100644 web-common/src/components/virtualized-table/columnSizes.ts diff --git a/web-common/src/components/virtualized-table/VirtualTable.svelte b/web-common/src/components/virtualized-table/VirtualTable.svelte index e0c012e5694..970b078fac6 100644 --- a/web-common/src/components/virtualized-table/VirtualTable.svelte +++ b/web-common/src/components/virtualized-table/VirtualTable.svelte @@ -1,19 +1,7 @@