From 196e25d14c172c144b2adcba9ebcfaac77e4f4d1 Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Fri, 12 Mar 2021 13:20:52 +0100 Subject: [PATCH] Set position to fixed --- .../file-explorer/src/lib/file-explorer-context-menu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-ui/file-explorer/src/lib/file-explorer-context-menu.tsx b/libs/remix-ui/file-explorer/src/lib/file-explorer-context-menu.tsx index 3a842d91b3..3e6b308a35 100644 --- a/libs/remix-ui/file-explorer/src/lib/file-explorer-context-menu.tsx +++ b/libs/remix-ui/file-explorer/src/lib/file-explorer-context-menu.tsx @@ -16,7 +16,7 @@ export const FileExplorerContextMenu = (props: FileExplorerContextMenuProps) => const boundary = menuItemsContainer.getBoundingClientRect() if (boundary.bottom > (window.innerHeight || document.documentElement.clientHeight)) { - menuItemsContainer.style.position = 'absolute' + menuItemsContainer.style.position = 'fixed' menuItemsContainer.style.bottom = '10px' menuItemsContainer.style.top = null }