Skip to content

Commit

Permalink
fix(VaSwitch): fix click nesting issues(#4187) (#4196)
Browse files Browse the repository at this point in the history
  • Loading branch information
gweesin committed Apr 1, 2024
1 parent 62b8af6 commit 0761b56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/va-switch/VaSwitch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
class="va-switch__container"
tabindex="-1"
@blur="onBlur"
@click="toggleSelection"
>
<div
class="va-switch__inner"
Expand All @@ -29,7 +30,6 @@
@focus="onFocus"
@blur="onBlur"
@keypress.enter="onEnterKeyPress"
@change="toggleSelection"
>
<div
class="va-switch__track"
Expand Down

0 comments on commit 0761b56

Please sign in to comment.