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.
1 parent 21dcaa0 commit 4055de1Copy full SHA for 4055de1
src/lib/Message/MessageFiles/MessageFiles.vue
@@ -24,7 +24,7 @@
24
<div
25
class="vac-file-container"
26
:class="{ 'vac-file-container-progress': file.progress >= 0 }"
27
- @click.stop="openFile(file, 'download')"
+ @click="openFile($event, file, 'download')"
28
>
29
<div class="vac-svg-button">
30
<slot name="document-icon">
@@ -88,8 +88,11 @@ export default {
88
},
89
90
methods: {
91
- openFile(file, action) {
92
- this.$emit('open-file', { file, action })
+ openFile(event, file, action) {
+ if (!this.messageSelectionEnabled) {
93
+ event.stopPropagation()
94
+ this.$emit('open-file', { file, action })
95
+ }
96
}
97
98
0 commit comments