Skip to content

Commit

Permalink
fix: Use proper way of hiding the attachment input
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Jan 11, 2024
1 parent 7f794a9 commit 9179e7b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/Editor/MediaHandler.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,12 @@
@dragover.prevent.stop="setDraggedOver(true)"
@dragleave.prevent.stop="setDraggedOver(false)"
@file-drop="onEditorDrop">
<input ref="attachmentFileInput"
tabindex="-1"
<input v-show="false"
ref="attachmentFileInput"
data-text-el="attachment-file-input"
type="file"
accept="*/*"
aria-hidden="true"
class="hidden-visually"
multiple
@change="onAttachmentUploadFilePicked">
<slot />
Expand Down

0 comments on commit 9179e7b

Please sign in to comment.