Skip to content

Commit 064fce3

Browse files
authored
fix(prompt-input): stopPropagation on drop (#113)
1 parent cd65ac4 commit 064fce3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/elements/src/prompt-input/PromptInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function onSubmit(e: Event) {
103103
:class="cn('w-full', props.class)"
104104
@submit="onSubmit"
105105
@dragover.prevent="handleDragOver"
106-
@drop.prevent="handleDrop"
106+
@drop.prevent.stop="handleDrop"
107107
>
108108
<InputGroup class="overflow-hidden">
109109
<slot />

0 commit comments

Comments
 (0)