diff --git a/packages/lexical-react/src/shared/LexicalMenu.ts b/packages/lexical-react/src/shared/LexicalMenu.ts index 32893b17bc5..8c77362ed14 100644 --- a/packages/lexical-react/src/shared/LexicalMenu.ts +++ b/packages/lexical-react/src/shared/LexicalMenu.ts @@ -530,7 +530,7 @@ export function useMenuAnchorRef( containerDiv.setAttribute('id', 'typeahead-menu'); containerDiv.setAttribute('role', 'listbox'); containerDiv.style.display = 'block'; - containerDiv.style.position = 'fixed'; + containerDiv.style.position = 'absolute'; parent.append(containerDiv); } anchorElementRef.current = containerDiv;