diff --git a/packages/react-select/src/components/Menu.tsx b/packages/react-select/src/components/Menu.tsx index c49a0ed18f..06da6d3538 100644 --- a/packages/react-select/src/components/Menu.tsx +++ b/packages/react-select/src/components/Menu.tsx @@ -77,9 +77,11 @@ export function getMenuPlacement({ const { height: scrollHeight } = scrollParent.getBoundingClientRect(); const { bottom: menuBottom, - height: menuHeight, + height: menuHeightBoundingRect, top: menuTop, } = menuEl.getBoundingClientRect(); + const menuHeight = menuEl.style.transform ? menuEl.offsetHeight : menuHeightBoundingRect; + const { top: containerTop } = menuEl.offsetParent.getBoundingClientRect(); const viewHeight = isFixedPosition