Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2022-11-08 13:41:10 +0300
committerGitHub <noreply@github.com>2022-11-08 13:41:10 +0300
commit3cfdc2f42b4b720dc63b57be40207fcabb6a1b03 (patch)
tree203f04d59292aae3790b5110a341cb8910437d6d
parent9c4a4f1303cef073458677d9ca8ad87610aa9654 (diff)
parent0bd3b4b66b5f08f2051071e030423cdd77b15c76 (diff)
Merge pull request #7545 from nextcloud/bug/7169/copy-contact-email-clipboard
Fix copy to clipboard
-rw-r--r--src/components/RecipientBubble.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/RecipientBubble.vue b/src/components/RecipientBubble.vue
index bca05f1d7..be7223876 100644
--- a/src/components/RecipientBubble.vue
+++ b/src/components/RecipientBubble.vue
@@ -20,7 +20,7 @@
-->
<template>
- <Popover trigger="click" class="contact-popover">
+ <Popover ref="popover" trigger="click" class="contact-popover">
<UserBubble slot="trigger"
:display-name="label"
:avatar-image="avatarUrlAbsolute"
@@ -204,7 +204,7 @@ export default {
},
methods: {
onClickCopyToClipboard() {
- this.$copyText(this.email)
+ this.$copyText(this.email, this.$refs.popover.$refs.popover.$refs.popperContent.$el)
},
onClickReply() {
this.$router.push({