From 39fb326d49eedf484342c78a61c0dba8e223e596 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Sat, 15 Jun 2024 16:38:05 +0900 Subject: [PATCH] fix --- packages/frontend/src/components/MkMenu.child.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/components/MkMenu.child.vue b/packages/frontend/src/components/MkMenu.child.vue index 506553b7f1..ab3dbce160 100644 --- a/packages/frontend/src/components/MkMenu.child.vue +++ b/packages/frontend/src/components/MkMenu.child.vue @@ -42,7 +42,7 @@ function setPosition() { let left = props.targetElement.offsetWidth; let top = (parentRect.top - rootRect.top) - 8; - maxHeight.value = window.innerHeight - rootRect.top - SCROLLBAR_THICKNESS; + maxHeight.value = window.innerHeight - SCROLLBAR_THICKNESS * 2; if (rootRect.left + left + myRect.width >= (window.innerWidth - SCROLLBAR_THICKNESS)) { left = -myRect.width;