Skip to content

Commit

Permalink
Fix stay open on mouse click when autocomplete is keep-open
Browse files Browse the repository at this point in the history
  • Loading branch information
jtommy committed Sep 22, 2021
1 parent 5c66709 commit fd61685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/autocomplete/Autocomplete.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
role="button"
tabindex="0"
:class="{ 'is-hovered': option === hovered }"
@click="setSelected(option, undefined, $event)"
@click.stop="setSelected(option, !keepOpen, $event)"
>
<slot
v-if="hasDefaultSlot"
Expand Down

0 comments on commit fd61685

Please sign in to comment.