mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
Remove stopPropagation on:click
Remove stopPropagation on:click helps when you have more then one acction to switch between actions tabs
This commit is contained in:
parent
12f3784bb9
commit
b85ab30c99
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@
|
|||
class:action-text="{text}"
|
||||
{...$$restProps}
|
||||
on:click
|
||||
on:click|stopPropagation="{() => {
|
||||
on:click="{() => {
|
||||
isOpen = !isOpen;
|
||||
dispatch(isOpen ? 'open' : 'close');
|
||||
}}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue