diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-03-02 13:18:02 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-03-03 19:26:15 +0300 |
commit | 9eaa04318ebe0a032dc524609d0eda1e95f6f88b (patch) | |
tree | 06f404fd078cc8a329e4aab6388b95695421e675 /src/components/NewMessageForm | |
parent | 53f12a82ac374845b2eda9428b75f3db323d45bd (diff) |
Use container property to fix popups in fulllscreen mode
Many popup components are usually appending themselves to the document
body. This doesn't work in fullscreen mode where we use another
component as the root.
This fix sets the "container" property for all relevant popup components
to make sure they can be visible in fullscreen mode.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'src/components/NewMessageForm')
-rw-r--r-- | src/components/NewMessageForm/NewMessageForm.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/NewMessageForm/NewMessageForm.vue b/src/components/NewMessageForm/NewMessageForm.vue index e06fe93b3..3bdb5e4cb 100644 --- a/src/components/NewMessageForm/NewMessageForm.vue +++ b/src/components/NewMessageForm/NewMessageForm.vue @@ -63,7 +63,9 @@ </Actions> </div> <div> - <EmojiPicker @select="addEmoji"> + <EmojiPicker + container="#content-vue" + @select="addEmoji"> <button type="button" :disabled="disabled" |