diff --git a/resources/assets/js/components/DropdownMenu.vue b/resources/assets/js/components/DropdownMenu.vue index 70e30af70..f81d00c49 100644 --- a/resources/assets/js/components/DropdownMenu.vue +++ b/resources/assets/js/components/DropdownMenu.vue @@ -79,7 +79,7 @@ export default { const eventRect = data.event.target.getBoundingClientRect(); this.styles = { left: `${eventRect.left}px`, - top: `${eventRect.top}px`, + top: `${eventRect.top + this.windowScrollY}px`, width: `${eventRect.width}px`, height: `${eventRect.height}px`, } @@ -109,7 +109,7 @@ export default { const eventRect = this.menuTarget.getBoundingClientRect(); this.styles = { left: `${eventRect.left}px`, - top: `${eventRect.top}px`, + top: `${eventRect.top + this.windowScrollY}px`, width: `${eventRect.width}px`, height: `${eventRect.height}px`, }; @@ -188,7 +188,7 @@ export default { } this.styles = { left: `${eventRect.left}px`, - top: `${eventRect.top}px`, + top: `${eventRect.top + this.windowScrollY}px`, width: `${eventRect.width}px`, height: `${eventRect.height}px`, }; diff --git a/resources/assets/js/pages/manage/components/ChatInput/index.vue b/resources/assets/js/pages/manage/components/ChatInput/index.vue index 489805846..2ff4d2e44 100755 --- a/resources/assets/js/pages/manage/components/ChatInput/index.vue +++ b/resources/assets/js/pages/manage/components/ChatInput/index.vue @@ -24,7 +24,7 @@ -