Skip to content

Commit 04e1117

Browse files
committed
Use position: fixed; to escape containers
1 parent 92d2dc7 commit 04e1117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compass-components/src/components/context-menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export function ContextMenu({
8686
data-testid="context-menu-anchor"
8787
ref={anchorRef}
8888
style={{
89-
position: 'absolute',
89+
position: 'fixed',
9090
left: position.x,
9191
top: position.y,
9292
// This is to ensure the menu gets positioned correctly as the left and top updates

0 commit comments

Comments
 (0)