Skip to content

Commit

Permalink
fix(VField): stopPropagation on Mousedown event for clearable icon
Browse files Browse the repository at this point in the history
fixes #16925
  • Loading branch information
yuwu9145 committed Mar 18, 2023
1 parent 9532d7e commit 1539a60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vuetify/src/components/VField/VField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ export const VField = genericComponent<new <T>() => {
<div
class="v-field__clearable"
v-show={ props.dirty }
onMousedown={ (e: MouseEvent) => e.stopPropagation() }
>
{ slots.clear
? slots.clear()
Expand Down

0 comments on commit 1539a60

Please sign in to comment.