Skip to content

Commit

Permalink
Revert "Fixed position for lexical menu (#5602)" (#5614)
Browse files Browse the repository at this point in the history
  • Loading branch information
zurfyx authored Feb 15, 2024
1 parent ee6cd8b commit 35f4e7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lexical-react/src/shared/LexicalMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 35f4e7e

Please sign in to comment.