mirror of
https://github.com/koel/koel
synced 2024-11-24 13:13:05 +00:00
fix: dropzone stays after dropping (#1523)
This commit is contained in:
parent
aa162b2edb
commit
d7a361e532
3 changed files with 3 additions and 3 deletions
|
@ -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">
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue