We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1694fa8 + f1c10a9 commit 33ededcCopy full SHA for 33ededc
PictureInput.vue
@@ -6,6 +6,7 @@
6
:style="{maxWidth: previewWidth + 'px', height: previewHeight + 'px', borderRadius: radius + '%'}">
7
<canvas ref="previewCanvas"
8
class="picture-preview"
9
+ tabindex="0"
10
:class="computedClasses"
11
@drag.stop.prevent=""
12
@dragover.stop.prevent=""
@@ -15,6 +16,7 @@
15
16
@dragleave.stop.prevent="onDragLeave"
17
@drop.stop.prevent="onFileDrop"
18
@click.prevent="onClick"
19
+ @keyup.enter="onClick"
20
:style="{height: previewHeight + 'px', zIndex: zIndex + 1 }">
21
</canvas>
22
<div v-if="!imageSelected && !plain"
0 commit comments