mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix(data-table): avoid triggering click:row when clicking expandable row chevron (#890)
Fixes #889
This commit is contained in:
parent
a317c7ed52
commit
b3a73cf80c
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@
|
|||
aria-label="{expandedRows[row.id]
|
||||
? 'Collapse current row'
|
||||
: 'Expand current row'}"
|
||||
on:click="{() => {
|
||||
on:click|stopPropagation="{() => {
|
||||
const rowExpanded = !!expandedRows[row.id];
|
||||
|
||||
expandedRowIds = rowExpanded
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue