diff --git a/app/editor/components/CommandMenu.tsx b/app/editor/components/CommandMenu.tsx index 947706ce8..85eec5dcf 100644 --- a/app/editor/components/CommandMenu.tsx +++ b/app/editor/components/CommandMenu.tsx @@ -423,8 +423,8 @@ class CommandMenu extends React.PureComponent< if (startPos.top - offsetHeight > margin) { return { left: leftPos, - top: top - offsetParent.top - offsetHeight, - bottom: undefined, + top: undefined, + bottom: offsetParent.bottom - top, isAbove: false, }; } else {