This commit is contained in:
kakkokari-gtyih 2024-06-15 16:38:05 +09:00
parent f8a8a4581b
commit 39fb326d49
1 changed files with 1 additions and 1 deletions

View File

@ -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;