From 5cf1574fdb36e14e342e3cbdd9733e0a1817a7cb Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson Date: Tue, 16 Jun 2020 17:20:36 +0300 Subject: [PATCH 1/4] fix popovers cutting off in notifications, port popover changes from chats mr --- src/components/account_actions/account_actions.vue | 1 + src/components/extra_buttons/extra_buttons.vue | 1 + src/components/popover/popover.js | 11 ++++++++++- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/components/account_actions/account_actions.vue b/src/components/account_actions/account_actions.vue index 744b77d5..029e7096 100644 --- a/src/components/account_actions/account_actions.vue +++ b/src/components/account_actions/account_actions.vue @@ -3,6 +3,7 @@
Date: Tue, 16 Jun 2020 17:30:56 +0300 Subject: [PATCH 2/4] remove log whoops --- src/components/popover/popover.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/popover/popover.js b/src/components/popover/popover.js index f1abe3ad..ded7066f 100644 --- a/src/components/popover/popover.js +++ b/src/components/popover/popover.js @@ -32,7 +32,6 @@ const Popover = { methods: { containerBoundingClientRect () { const container = this.boundToSelector ? document.querySelector(this.boundToSelector) : this.$el.offsetParent - console.log('test', container) return container.getBoundingClientRect() }, updateStyles () { From c18a8ab308e6ebbc552e623d6e035032cec4a619 Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson Date: Tue, 16 Jun 2020 17:35:12 +0300 Subject: [PATCH 3/4] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 623c642f..9a9a9046 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Newlines in the muted words settings work again - Clicking on non-latin hashtags won't open a new window - Uploading and drag-dropping multiple files works correctly now. +- Fix status ellipsis menu being cut off in notifications column. ## [2.0.3] - 2020-05-02 ### Fixed From 24e47eb604330a8858dac9761545e499f73be8c4 Mon Sep 17 00:00:00 2001 From: Shpuld Shpludson Date: Tue, 16 Jun 2020 15:12:44 +0000 Subject: [PATCH 4/4] Update popover.js --- src/components/popover/popover.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/popover/popover.js b/src/components/popover/popover.js index ded7066f..a40a9195 100644 --- a/src/components/popover/popover.js +++ b/src/components/popover/popover.js @@ -1,4 +1,3 @@ - const Popover = { name: 'Popover', props: { @@ -31,7 +30,7 @@ const Popover = { }, methods: { containerBoundingClientRect () { - const container = this.boundToSelector ? document.querySelector(this.boundToSelector) : this.$el.offsetParent + const container = this.boundToSelector ? this.$el.closest(this.boundToSelector) : this.$el.offsetParent return container.getBoundingClientRect() }, updateStyles () {