fix: dropzone stays after dropping (#1523)

This commit is contained in:
Phan An 2022-10-10 08:16:47 +02:00 committed by GitHub
parent aa162b2edb
commit d7a361e532
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@
class="upload-panel"
@dragenter.prevent="onDragEnter"
@dragleave.prevent="onDragLeave"
@drop.stop.prevent="onDrop"
@drop.prevent="onDrop"
@dragover.prevent
>
<div class="upload-files" v-if="files.length">

View file

@ -91,7 +91,7 @@
@dragstart="rowDragStart(item, $event)"
@dragenter.prevent="allowDrop"
@dragover.prevent
@drop.stop.prevent="handleDrop(item, $event)"
@drop.prevent="handleDrop(item, $event)"
@contextmenu.prevent="openContextMenu(item, $event)"
/>
</VirtualScroller>

View file

@ -12,7 +12,7 @@
@click.prevent="playOrQueue"
@dragenter.prevent="onDragEnter"
@dragleave.prevent="onDragLeave"
@drop.stop.prevent="onDrop"
@drop.prevent="onDrop"
@dragover.prevent
>
<span class="hidden">{{ buttonLabel }}</span>