diff --git a/src/components/popover/popover.js b/src/components/popover/popover.js index 9a06c4e69..3b83bd58f 100644 --- a/src/components/popover/popover.js +++ b/src/components/popover/popover.js @@ -304,13 +304,10 @@ const Popover = { } this.scrollable.addEventListener('scroll', this.onScroll) this.scrollable.addEventListener('resize', this.onResize) - // My assumption is that upon showing popover initially has different size - // as its contents are getting populating, so logic uses those incorrect - // sizes as basis - setTimeout(() => { + this.$nextTick(() => { if (wasHidden) this.$emit('show') this.updateStyles() - }, 1) + }) }, hidePopover() { if (this.disabled) return diff --git a/src/components/status_action_buttons/status_action_buttons.vue b/src/components/status_action_buttons/status_action_buttons.vue index 428f763ce..c45c2e592 100644 --- a/src/components/status_action_buttons/status_action_buttons.vue +++ b/src/components/status_action_buttons/status_action_buttons.vue @@ -42,7 +42,7 @@ :trigger-attrs="triggerAttrs" class="quick-action" :tabindex="0" - placement="bottom" + placement="top" :offset="{ y: 5 }" remove-padding @close="onExtraClose" @@ -59,6 +59,23 @@ class="dropdown-menu extra-action-buttons" role="menu" > +
-