From 8607127a0b93591cc272a7925fd04c765b786eb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Fri, 7 May 2021 14:52:46 +0200 Subject: [PATCH] adds a click dispatch to the Table component --- packages/bbui/src/Table/Table.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/bbui/src/Table/Table.svelte b/packages/bbui/src/Table/Table.svelte index e74a3a7e7d..467c02cf34 100644 --- a/packages/bbui/src/Table/Table.svelte +++ b/packages/bbui/src/Table/Table.svelte @@ -272,6 +272,7 @@ {#if sortedRows?.length} {#each sortedRows as row, idx} dispatch("click", row)} on:click={() => toggleSelectRow(row)} class="spectrum-Table-row" class:hidden={idx < firstVisibleRow || idx > lastVisibleRow}