Skip to content

Commit 22f211f

Browse files
committed
fix(dropzone): fix missing target focus
1 parent 65bda71 commit 22f211f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/dropzone/Dropzone.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ defineSlots<{
213213

214214
<style lang="postcss">
215215
.dropzone {
216-
@apply cursor-pointer block w-full;
216+
@apply cursor-pointer block w-full relative;
217217
218218
&__input {
219-
@apply hidden;
219+
@apply absolute w-[.1px] h-[.1px] opacity-0 overflow-hidden -z-1 bottom-0 right-0;
220220
}
221221
222222
* {

0 commit comments

Comments
 (0)