Skip to content

Commit

Permalink
fix(VFileInput): don't emit control click when clicking prepend
Browse files Browse the repository at this point in the history
fixes #19232
  • Loading branch information
johnleider committed Feb 15, 2024
1 parent 67bd7d5 commit 389372c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VFileInput/VFileInput.tsx
Expand Up @@ -127,7 +127,7 @@ export const VFileInput = genericComponent<VFileInputSlots>()({
if (!isFocused.value) focus()
}
function onClickPrepend (e: MouseEvent) {
onControlClick(e)
inputRef.value?.click()
}
function onControlMousedown (e: MouseEvent) {
emit('mousedown:control', e)
Expand Down

0 comments on commit 389372c

Please sign in to comment.